refactor(demos): forms and input

This commit is contained in:
Drew Rygh
2015-11-04 19:37:41 -06:00
parent 19ce43a182
commit a766c20d65
50 changed files with 306 additions and 296 deletions

View File

@ -0,0 +1,12 @@
import {Page} from 'ionic/ionic';
import {forwardRef} from 'angular2/angular2';
import {AndroidAttribute} from '../../helpers';
@Page({
templateUrl: 'inputs/checkbox/template.html',
directives: [forwardRef(() => helpers.AndroidAttribute)]
})
export class CheckboxPage{
constructor() {
}
}

View File

@ -0,0 +1,64 @@
<ion-navbar *navbar hide-back-button class="android-attr">
<ion-title>
Checkbox
</ion-title>
</ion-navbar>
<ion-content>
<ion-list>
<ion-checkbox checked="true">
Jon Snow
</ion-checkbox>
<ion-checkbox dark checked="true">
Daenerys Targaryen
</ion-checkbox>
<ion-checkbox value="cherry" disabled="true">
Arya Stark
</ion-checkbox>
<ion-checkbox secondary>
Tyrion Lannister
</ion-checkbox>
<ion-checkbox danger checked="true">
Sansa Stark
</ion-checkbox>
<ion-checkbox>
Khal Drogo
</ion-checkbox>
<ion-checkbox energized checked="true" dark>
Cersei Lannister
</ion-checkbox>
<ion-checkbox royal checked="true">
Stannis Baratheon
</ion-checkbox>
<ion-checkbox disabled="true">
Petyr Baelish
</ion-checkbox>
<ion-checkbox dark checked="true">
Hodor
</ion-checkbox>
<ion-checkbox secondary checked="true">
Catelyn Stark
</ion-checkbox>
<ion-checkbox royal>
Bronn
</ion-checkbox>
</ion-list>
</ion-content>