Skip to content

Documentation


Documentation / @blazetrails/actionpack / ActionView / tag

Function: tag() ​

Call Signature ​

tag(this): ElementTagBuilder

Defined in: packages/actionview/dist/helpers/tag-helper.d.ts:10

Parameters ​

ParameterType
thisTagHelperHost

Returns ​

ElementTagBuilder

Call Signature ​

tag(this, name, options?, open?, escape?): SafeBuffer

Defined in: packages/actionview/dist/helpers/tag-helper.d.ts:11

Parameters ​

ParameterType
thisTagHelperHost
namestring
options?Record<string, unknown> | Hash<unknown, unknown> | null
open?boolean
escape?boolean

Returns ​

SafeBuffer

Call Signature ​

tag(this, name?, options?, open?, escape?): SafeBuffer | TagBuilder

Defined in: packages/actionview/dist/helpers/tag-helper.d.ts:12

Parameters ​

ParameterType
thisTagHelperHost
name?string
options?Record<string, unknown> | Hash<unknown, unknown> | null
open?boolean
escape?boolean

Returns ​

SafeBuffer | TagBuilder