mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
docs: add descriptions and examples for core components
This commit is contained in:
@ -13,7 +13,18 @@ import {IonicComponent, IonicView} from '../../config/annotations';
|
||||
import {TapClick} from '../button/button';
|
||||
|
||||
/**
|
||||
* Checkbox control value accessor.
|
||||
* @name ionCheckbox
|
||||
* @classdesc
|
||||
* The checkbox is no different than the HTML checkbox input, except it's styled differently
|
||||
*
|
||||
* See the [Angular 2 Docs](https://angular.io/docs/js/latest/api/forms/) for more info on forms and input.
|
||||
*
|
||||
* @example
|
||||
* ```html
|
||||
* <ion-checkbox checked="true" value="isChecked" ng-control="htmlCtrl">
|
||||
* HTML5
|
||||
* </ion-checkbox>
|
||||
* ```
|
||||
*/
|
||||
@IonicComponent({
|
||||
selector: 'ion-checkbox',
|
||||
|
Reference in New Issue
Block a user