[Forms] Allow buttons to be disabled

Allow buttons to be disabled, particularly for use
in toolbars. WTD-684.
This commit is contained in:
Victor Woeltjen 2015-01-15 15:27:31 -08:00
parent b5393ae9da
commit a9ebd1b869

View File

@ -1,6 +1,6 @@
<a href=""
class="t-btn l-btn s-btn s-icon-btn s-very-subtle"
ng-class="{ labeled: structure.text }"
ng-class="{ labeled: structure.text, disabled: structure.disabled }"
ng-click="structure.click()">
<span class="ui-symbol icon">
{{structure.glyph}}