From 4e9f74604b35d1d50e2d7dda32eb576102853647 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20H=C3=A5kansson?= Date: Mon, 4 Jul 2016 22:23:35 +0200 Subject: [PATCH] docs(button): update example code to match image (#801) --- src/components/button/README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/button/README.md b/src/components/button/README.md index 0f3d3bec6fb..5e6161961e9 100644 --- a/src/components/button/README.md +++ b/src/components/button/README.md @@ -80,12 +80,13 @@ Output: ### Disabling You can disable any button type through the native `disabled` property. You can add it directly, or bind it to a property on your -component class. +component class by adding `[disabled]="isDisabled"` given that the `isDisabled` +property exists. ```html - - - + + + ``` Output: