mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
docs(demos): change structure of list component section
This commit is contained in:
@ -37,8 +37,8 @@ import {IconsPage} from './icons/icons';
|
|||||||
import {BasicListsPage,
|
import {BasicListsPage,
|
||||||
AvatarListsPage,
|
AvatarListsPage,
|
||||||
IconListsPage,
|
IconListsPage,
|
||||||
NoDividersPage,
|
BasicDividersPage,
|
||||||
InsetListsPage,
|
BasicInsetListsPage,
|
||||||
ListHeadersPage} from './lists/lists';
|
ListHeadersPage} from './lists/lists';
|
||||||
|
|
||||||
import {MenusPage} from './menus/menus';
|
import {MenusPage} from './menus/menus';
|
||||||
@ -100,8 +100,8 @@ export function getPageFor(hash) {
|
|||||||
'lists': BasicListsPage,
|
'lists': BasicListsPage,
|
||||||
'avatar-list': AvatarListsPage,
|
'avatar-list': AvatarListsPage,
|
||||||
'icon-list': IconListsPage,
|
'icon-list': IconListsPage,
|
||||||
'no-dividers': NoDividersPage,
|
'dividers': BasicDividersPage,
|
||||||
'inset-list': InsetListsPage,
|
'inset-list': BasicInsetListsPage,
|
||||||
'list-headers': ListHeadersPage,
|
'list-headers': ListHeadersPage,
|
||||||
|
|
||||||
'menus': MenusPage,
|
'menus': MenusPage,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
<ion-navbar *navbar class="show-navbar">
|
<ion-navbar *navbar class="show-navbar">
|
||||||
<ion-title>No Dividers</ion-title>
|
<ion-title>Dividers</ion-title>
|
||||||
</ion-navbar>
|
</ion-navbar>
|
||||||
|
|
||||||
<ion-content class="has-header demo-list-icons">
|
<ion-content class="has-header demo-list-icons">
|
@ -10,18 +10,18 @@ export class BasicListsPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Page({
|
@Page({
|
||||||
templateUrl: 'lists/inset-lists.html',
|
templateUrl: 'lists/dividers.html',
|
||||||
})
|
})
|
||||||
export class InsetListsPage {
|
export class BasicDividersPage {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Page({
|
@Page({
|
||||||
templateUrl: 'lists/no-dividers.html',
|
templateUrl: 'lists/inset-lists.html',
|
||||||
})
|
})
|
||||||
export class NoDividersPage {
|
export class BasicInsetListsPage {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user