From 534e47be7cee0f2429d9ddb61cbdb684c75b343f Mon Sep 17 00:00:00 2001 From: mhartington Date: Mon, 12 Dec 2016 10:30:05 -0500 Subject: [PATCH] docs(button): add note for click handlers --- src/components/button/button.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/button/button.ts b/src/components/button/button.ts index 41c4ec5977..6ff64057bd 100644 --- a/src/components/button/button.ts +++ b/src/components/button/button.ts @@ -88,6 +88,10 @@ import { isTrueProperty } from '../../util/util'; * Dark (Solid + Round) * * + * + * * ``` * * ```ts @@ -102,6 +106,10 @@ import { isTrueProperty } from '../../util/util'; * isClear: boolean = true; * myColor: string = 'secondary'; * myColor2: string = 'dark'; + * + * logEvent(event) { + * console.log(event) + * } * } * * ```