--- title: Options Array Examples nav_title: Options Array tags: demo --- {% from "demo.njk" import demo %} {% set label %}
The options are created from an array in JavaScript.
{% endset %} {% set html %} {% endset %} {{ demo( label, html, script) }} {% set label %}Enhance options with data-* attributes
{% endset %} {% set html %} {% endset %} {{ demo( label, html, script) }}