We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbf3b6b commit 4e9f746Copy full SHA for 4e9f746
src/components/button/README.md
@@ -80,12 +80,13 @@ Output:
80
### Disabling
81
82
You can disable any button type through the native `disabled` property. You can add it directly, or bind it to a property on your
83
-component class.
+component class by adding `[disabled]="isDisabled"` given that the `isDisabled`
84
+property exists.
85
86
```html
-<button md-button disabled>off</button>
87
-<button md-raised-button [disabled]="isDisabled">off</button>
88
-<button md-mini-fab [disabled]="isDisabled">check circle</button>
+<button md-button disabled>OFF</button>
+<button md-raised-button [disabled]="isDisabled">OFF</button>
89
+<button md-mini-fab [disabled]="isDisabled"><md-icon>check</md-icon></button>
90
```
91
92
Output:
0 commit comments