2018-02-03 19:54:19 +03:00
|
|
|
{{#if showMenu}}
|
2018-05-01 15:47:13 +03:00
|
|
|
<div class="koenig-cardmenu {{kg-style "cardmenu"}}">
|
2018-02-03 19:54:19 +03:00
|
|
|
{{#each items as |item|}}
|
2018-05-02 19:31:17 +03:00
|
|
|
<div class="{{if item.selected "kg-blue-selected"}} {{kg-style "cardmenu-card"}}" {{action "itemClicked" item on="click"}} data-kg="cardmenu-card">
|
2018-05-01 15:47:13 +03:00
|
|
|
<div class="{{kg-style "cardmenu-icon"}}">{{svg-jar item.icon class="w8 h8 stroke-midgrey"}}</div>
|
|
|
|
<div class="{{kg-style "cardmenu-label"}}">{{item.label}}</div>
|
2018-02-03 19:54:19 +03:00
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|