Preparing search index...
The search index is not available
liquidjs
liquidjs
IfTag
Class IfTag
Hierarchy (
view full
)
Tag
IfTag
Index
Constructors
constructor
Properties
branches
else
Templates
liquid
name
token
tokenizer
Methods
render
Constructors
constructor
new
If
Tag
(
tagToken
,
remainTokens
,
liquid
,
parser
)
:
IfTag
Parameters
tagToken
:
TagToken
remainTokens
:
TopLevelToken
[]
liquid
:
Liquid
parser
:
Parser
Returns
IfTag
Properties
branches
branches
:
{
templates
:
Template
[]
;
value
:
Value
;
}
[]
= []
else
Templates
else
Templates
:
undefined
|
Template
[]
liquid
liquid
:
Liquid
name
name
:
string
token
token
:
TagToken
Protected
tokenizer
tokenizer
:
Tokenizer
Methods
render
render
(
ctx
,
emitter
)
:
Generator
<
unknown
,
void
,
string
>
Parameters
ctx
:
Context
emitter
:
Emitter
Returns
Generator
<
unknown
,
void
,
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
branches
else
Templates
liquid
name
token
tokenizer
Methods
render
liquidjs
Loading...