mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
docs(checkbox): update inputs/outputs
This commit is contained in:
@ -12,9 +12,6 @@ import {isTrueProperty} from '../../util/util';
|
|||||||
*
|
*
|
||||||
* See the [Angular 2 Docs](https://angular.io/docs/js/latest/api/core/Form-interface.html) for more info on forms and input.
|
* See the [Angular 2 Docs](https://angular.io/docs/js/latest/api/core/Form-interface.html) for more info on forms and input.
|
||||||
*
|
*
|
||||||
* @property [checked] - whether or not the checkbox is checked (defaults to false)
|
|
||||||
* @property [value] - the value of the checkbox component
|
|
||||||
* @property [disabled] - whether or not the checkbox is disabled or not.
|
|
||||||
*
|
*
|
||||||
* @usage
|
* @usage
|
||||||
* ```html
|
* ```html
|
||||||
@ -69,7 +66,7 @@ export class Checkbox {
|
|||||||
id: string;
|
id: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @input {String} the value of the checkbox component
|
||||||
*/
|
*/
|
||||||
@Input() value: string = '';
|
@Input() value: string = '';
|
||||||
|
|
||||||
@ -100,7 +97,7 @@ export class Checkbox {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @input {Bool} whether or not the checkbox is checked (defaults to false)
|
||||||
*/
|
*/
|
||||||
@Input()
|
@Input()
|
||||||
get checked() {
|
get checked() {
|
||||||
@ -116,7 +113,7 @@ export class Checkbox {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @input {Bool} whether or not the checkbox is disabled or not.
|
||||||
*/
|
*/
|
||||||
@Input()
|
@Input()
|
||||||
get disabled() {
|
get disabled() {
|
||||||
|
Reference in New Issue
Block a user