mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(demos): update toggle
This commit is contained in:
@@ -102,8 +102,9 @@ export function getPageFor(hash) {
|
||||
'range': inputs.RangePage,
|
||||
'segment': inputs.SegmentPage,
|
||||
'select': inputs.SelectPage,
|
||||
'switch': inputs.SwitchPage,
|
||||
'searchbar': inputs.SearchPage,
|
||||
'toggle': inputs.TogglePage,
|
||||
|
||||
|
||||
'inputs': labels.BasicPage,
|
||||
'fixed-inline-labels': labels.FixedInlinePage,
|
||||
|
||||
@@ -4,4 +4,4 @@ export * from './range/pages';
|
||||
export * from './search/pages';
|
||||
export * from './segment/pages';
|
||||
export * from './select/pages';
|
||||
export * from './switch/pages';
|
||||
export * from './toggle/pages';
|
||||
|
||||
@@ -3,10 +3,10 @@ import {forwardRef} from 'angular2/core';
|
||||
import {AndroidAttribute} from '../../helpers';
|
||||
|
||||
@Page({
|
||||
templateUrl: 'inputs/switch/template.html',
|
||||
templateUrl: 'inputs/toggle/template.html',
|
||||
directives: [forwardRef(() => AndroidAttribute)]
|
||||
})
|
||||
export class SwitchPage{
|
||||
export class TogglePage{
|
||||
constructor() {
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
<ion-navbar *navbar hide-back-button class="android-attr">
|
||||
|
||||
<ion-title>
|
||||
Switch
|
||||
Toggle
|
||||
</ion-title>
|
||||
|
||||
</ion-navbar>
|
||||
Reference in New Issue
Block a user