framework/ember/app/templates/components/dropdown-split.hbs
2015-01-02 11:46:40 +10:30

8 lines
305 B
Handlebars

{{#if items}}
{{view items.firstItem class=mainButtonClass}}
<button {{bind-attr class=":dropdown-toggle :btn buttonClass"}}>
{{fa-icon "caret-down" class="icon-caret"}}
{{fa-icon icon class="icon-glyph"}}
</button>
{{menu-list items=items class=dropdownMenuClass}}
{{/if}}