This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
en:template:choice_input [2017/06/19 15:55] Nicolas Ronvel [Images in options] |
en:template:choice_input [2017/06/22 10:28] Nicolas Ronvel [Content in options] |
||
---|---|---|---|
Line 65: | Line 65: | ||
</code> | </code> | ||
- | If you have defined a ''content'' property on an option, you can retrieve its content by using the ''$optionsName'' variable : | + | If you have defined a ''content'' property on an option, you can retrieve its content by using the ''£optionsName'' variable : |
<code javascript> | <code javascript> | ||
Line 74: | Line 74: | ||
"top": 7, | "top": 7, | ||
"fill": "$color1.hexa$", | "fill": "$color1.hexa$", | ||
- | "paths": "$icons" | + | "paths": "£icons" |
} | } | ||
</code> | </code> |