{% if site.data.api.options %} {% include anchor.html name="Options" %}

You can easily manage the component behavior by passing an object of options to the constructor.

{% for option in site.data.api.options %} {% endfor %}
Name Default value
{{ option.name }} {{ option.default }}
Note: you can set options direclty on the DOM Element via data attributes.
Example for {{ site.data.api.options[0].name | camelize }} option :
{% highlight html %}
{% endhighlight %}
{% endif %}