{% 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.
Name
Default value
{% for option in site.data.api.options %}
{{ option.name }}
{{ option.default }}
{% endfor %}
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 %}