framework/ember/app/templates/components/ui/controls/dropdown-split.hbs

8 lines
334 B
Handlebars
Raw Normal View History

{{#if items}}
2015-01-03 19:21:47 +08:00
{{view firstItem class=mainButtonClass}}
2015-01-03 09:56:14 +08:00
<button {{bind-attr class=":dropdown-toggle :btn buttonClass"}} data-toggle="dropdown">
{{fa-icon "caret-down" class="icon-caret"}}
2015-01-03 19:21:47 +08:00
{{fa-icon icon class="icon-glyph"}}
</button>
2015-01-03 19:21:47 +08:00
{{ui/controls/item-list items=items class=dropdownMenuClass}}
{{/if}}