21 lines
803 B
Handlebars
21 lines
803 B
Handlebars
|
<ul class="item-menu [ flex-col slight-rounded reset-margin reset-padding overflow-hidden ]" tabindex="0" role="listbox">
|
||
|
{{#each items as |item|}}
|
||
|
{{#if @last}}
|
||
|
<hr class="list-divider">
|
||
|
{{/if}}
|
||
|
<li class="item [ flex-row flex-justify-start gap-small ]
|
||
|
[ interactive hover-bg-primary padding-medium ]"
|
||
|
role="option"
|
||
|
name="{{concat ../propertyString "." @key}}"
|
||
|
{{#if item.dataset}}
|
||
|
{{#each item.dataset as |value|}}
|
||
|
data-{{@key}}="{{value}}"
|
||
|
{{/each}}
|
||
|
{{/if}}
|
||
|
data-action="{{concat ../propertyString "." @key}}"
|
||
|
>
|
||
|
<i class="{{item.icon}}"></i>
|
||
|
<span class="">{{camelCaseToCapitalString @key}}</span>
|
||
|
</li>
|
||
|
{{/each}}
|
||
|
</ul>
|