docs(checkbox): updates methods and inputs

This commit is contained in:
mhartington
2016-02-01 12:01:38 -05:00
parent 6e98b6287a
commit 329c1127c5

View File

@ -28,7 +28,7 @@ import {isTrueProperty} from '../../util/util';
* *
* <ion-item> * <ion-item>
* <ion-label>Sausage</ion-label> * <ion-label>Sausage</ion-label>
* <ion-checkbox value="sausage"></ion-checkbox> * <ion-checkbox value="sausage" disabled="true"></ion-checkbox>
* </ion-item> * </ion-item>
* *
* <ion-item> * <ion-item>
@ -68,6 +68,9 @@ export class Checkbox {
*/ */
id: string; id: string;
/**
* @private
*/
@Input() value: string = ''; @Input() value: string = '';
constructor( constructor(
@ -96,6 +99,9 @@ export class Checkbox {
this.checked = !this.checked; this.checked = !this.checked;
} }
/**
* @private
*/
@Input() @Input()
get checked() { get checked() {
return this._checked; return this._checked;
@ -109,6 +115,9 @@ export class Checkbox {
} }
} }
/**
* @private
*/
@Input() @Input()
get disabled() { get disabled() {
return this._disabled; return this._disabled;