framework/ember/app/templates/components/ui/controls/dropdown-split.hbs
2015-01-03 21:51:47 +10:30

8 lines
334 B
Handlebars

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