larva components: c-select-option
Available Variants
prototypec-select-option
README
This needs docs!
Create a README.md in the pattern's directory and add details about using this pattern in markdown.
c-select-option
Twig The markup file.
{% if c_select_option_url %}
<option data-select-url="{{ c_select_option_url }}" value="{{ c_select_option_value_attr }}">{{ c_select_option_text }}</option>
{% else %}
<option value="{{ c_select_option_value_attr }}">{{ c_select_option_text }}</option>
{% endif %}
c-select-option
JSON The data object for this pattern.
{
"c_select_option_url": "#",
"c_select_option_value_attr": "option-value",
"c_select_option_text": "Option Text"
}