docs: add descriptions and examples for core components

This commit is contained in:
Drew Rygh
2015-09-06 18:02:26 -05:00
parent dc7b04fbd4
commit d464f8f02c
9 changed files with 241 additions and 21 deletions

View File

@ -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',