mediawiki-skins-MinervaNeue/components/ToggleList/ToggleListItem.mustache

17 lines
523 B
Plaintext
Raw Normal View History

{{!
array components
string|null components.class Optional anchor CSS class.
string|null components.href Optional URI.
string|null components.text Optional text.
string|null components.data-event-name Optional tracking code.
}}
{{#components}}
<li class="toggle-list-item">
<a class="toggle-list-item__anchor {{class}}" href="{{href}}" data-event-name="{{data-event-name}}">
<span class="toggle-list-item__icon">
<span class="toggle-list-item__label">{{text}}</span>
</span>
</a>
</li>
{{/components}}