docs(components): add outline for input components

This commit is contained in:
Drew Rygh
2015-10-28 17:02:26 -05:00
parent 65779ee8d9
commit 5a091e91dd
7 changed files with 114 additions and 0 deletions

View File

@@ -34,6 +34,12 @@ import {FormsPage,
import {IconsPage} from './icons/icons';
import {CheckboxPage,
RadioPage,
RangePage,
SelectPage,
SwitchPage} from './inputs/inputs';
import {BasicListsPage,
AvatarListsPage,
IconListsPage,
@@ -122,6 +128,11 @@ export function getPageFor(hash) {
'card-advanced-social': CardsAdvancedSocialPage,
'card-advanced-weather': CardsAdvancedWeatherPage,
'checkbox': CheckboxPage,
'radio': RadioPage,
'range': RangePage,
'select': SelectPage,
'switch': SwitchPage,
'inputs': FormsPage,
'fixed-inline-labels': FixedInlinePage,

View File

@@ -0,0 +1,11 @@
<ion-navbar *navbar class="android-attr">
<ion-title>
Checkbox
</ion-title>
</ion-navbar>
<ion-content padding>
</ion-content>

View File

@@ -0,0 +1,48 @@
import {App, IonicApp, Page} from 'ionic/ionic';
import {forwardRef} from 'angular2/angular2';
import * as helpers from '../helpers';
@Page({
templateUrl: 'inputs/checkbox.html',
directives: [forwardRef(() => helpers.AndroidAttribute)]
})
export class CheckboxPage{
constructor() {
}
}
@Page({
templateUrl: 'inputs/radio.html',
directives: [forwardRef(() => helpers.AndroidAttribute)]
})
export class RadioPage{
constructor() {
}
}
@Page({
templateUrl: 'inputs/range.html',
directives: [forwardRef(() => helpers.AndroidAttribute)]
})
export class RangePage{
constructor() {
}
}
@Page({
templateUrl: 'inputs/select.html',
directives: [forwardRef(() => helpers.AndroidAttribute)]
})
export class SelectPage{
constructor() {
}
}
@Page({
templateUrl: 'inputs/switch.html',
directives: [forwardRef(() => helpers.AndroidAttribute)]
})
export class SwitchPage{
constructor() {
}
}

View File

@@ -0,0 +1,11 @@
<ion-navbar *navbar class="android-attr">
<ion-title>
Radio
</ion-title>
</ion-navbar>
<ion-content padding>
</ion-content>

View File

@@ -0,0 +1,11 @@
<ion-navbar *navbar class="android-attr">
<ion-title>
Range
</ion-title>
</ion-navbar>
<ion-content padding>
</ion-content>

View File

@@ -0,0 +1,11 @@
<ion-navbar *navbar class="android-attr">
<ion-title>
Select
</ion-title>
</ion-navbar>
<ion-content padding>
</ion-content>

View File

@@ -0,0 +1,11 @@
<ion-navbar *navbar class="android-attr">
<ion-title>
Switch
</ion-title>
</ion-navbar>
<ion-content padding>
</ion-content>