ionic-framework Ionic AngularJS extensions Form inputs


Example

Ionic inputs are no different from normal HTML inputs but they are styled differently and used as a directive. You can also use normal HTML inputs in Ionic apps. Here are some basic examples that Ionic offers ready-to-go.

Checkbox:

<ion-checkbox ng-model="checkbox">Label</ion-checkbox>

Radio button:

<ion-radio ng-model="radio" ng-value="'radiovalue'">Value</ion-radio>

Toggle:

<ion-toggle ng-model="toggle" toggle-class="toggle-calm">Toggle</ion-toggle>