From f227fcc66f74e0e20cf6a90e2f4202d2969c76bb Mon Sep 17 00:00:00 2001 From: Yuan Gao Date: Wed, 8 Mar 2017 13:43:59 -0800 Subject: [PATCH] Add doc for MdCheckboxChange Add doc for MdButtonToggleChange --- src/lib/button-toggle/button-toggle.ts | 2 ++ src/lib/checkbox/checkbox.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/lib/button-toggle/button-toggle.ts b/src/lib/button-toggle/button-toggle.ts index 3cc0a0c21209..e11363d31300 100644 --- a/src/lib/button-toggle/button-toggle.ts +++ b/src/lib/button-toggle/button-toggle.ts @@ -40,7 +40,9 @@ var _uniqueIdCounter = 0; /** Change event object emitted by MdButtonToggle. */ export class MdButtonToggleChange { + /** The MdButtonToggle who emits the event. */ source: MdButtonToggle; + /** The value assigned to the MdButtonToggle. */ value: any; } diff --git a/src/lib/checkbox/checkbox.ts b/src/lib/checkbox/checkbox.ts index dcbc59074de5..eac2c0131768 100644 --- a/src/lib/checkbox/checkbox.ts +++ b/src/lib/checkbox/checkbox.ts @@ -54,7 +54,9 @@ export enum TransitionCheckState { /** Change event object emitted by MdCheckbox. */ export class MdCheckboxChange { + /** The source MdCheckbox of the event. */ source: MdCheckbox; + /** The new `checked` value of the checkbox. */ checked: boolean; }