docs: fix doc tags

This commit is contained in:
Drew Rygh
2015-09-08 15:00:14 -05:00
parent e2c01f4b12
commit b95ddaafa2
13 changed files with 31 additions and 35 deletions

View File

@@ -48,23 +48,21 @@ class MediaSwitch {
/**
* @name ionSwitch
* @classdesc
* @description
* A switch technically is the same thing as an HTML checkbox input, except it looks different and is easier to use on a touch device. Ionic prefers to wrap the checkbox input with the <label> in order to make the entire toggle easy to tap or drag.
*
* Toggles can also have colors assigned to them, by adding the `toggle-assertive` attribute to assign the assertive color.
*
* See the [Angular 2 Docs](https://angular.io/docs/js/latest/api/forms/) for more info on forms and input.
*
* @example
* @usage
* ```html
* // Create a single switch
* <ion-switch checked="true">
* Pineapple
* </ion-switch>
* ````
*
* @example
* Create a list of switch components:
* ```html
* // Create a list of switches:
* <ion-list>
*
* <ion-switch checked="true">