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

8 lines
331 B
Handlebars
Raw Normal View History

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