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

8 lines
328 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 09:56:14 +08:00
{{menu-list items=containedItems class=dropdownMenuClass}}
{{/if}}