Closed marrus-sh closed 8 years ago
This is a convenience form for declaring them in data-vars and then setting them in the init code. data-vars can be phased out, then. data-var-* should ideally default to 0, but data-var-*="" should give the empty string.
data-vars
init
data-var-*
0
data-var-*=""
data-vars (and subsequently, data-var) has now been phased out in favour of just declaring all needed variables inside the init function.
data-var
This is a convenience form for declaring them in
data-vars
and then setting them in theinit
code.data-vars
can be phased out, then.data-var-*
should ideally default to0
, butdata-var-*=""
should give the empty string.