mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +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,
|
||||
AvatarListsPage,
|
||||
IconListsPage,
|
||||
NoDividersPage,
|
||||
InsetListsPage,
|
||||
BasicDividersPage,
|
||||
BasicInsetListsPage,
|
||||
ListHeadersPage} from './lists/lists';
|
||||
|
||||
import {MenusPage} from './menus/menus';
|
||||
@@ -100,8 +100,8 @@ export function getPageFor(hash) {
|
||||
'lists': BasicListsPage,
|
||||
'avatar-list': AvatarListsPage,
|
||||
'icon-list': IconListsPage,
|
||||
'no-dividers': NoDividersPage,
|
||||
'inset-list': InsetListsPage,
|
||||
'dividers': BasicDividersPage,
|
||||
'inset-list': BasicInsetListsPage,
|
||||
'list-headers': ListHeadersPage,
|
||||
|
||||
'menus': MenusPage,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
<ion-navbar *navbar class="show-navbar">
|
||||
<ion-title>No Dividers</ion-title>
|
||||
<ion-title>Dividers</ion-title>
|
||||
</ion-navbar>
|
||||
|
||||
<ion-content class="has-header demo-list-icons">
|
||||
@@ -10,18 +10,18 @@ export class BasicListsPage {
|
||||
}
|
||||
|
||||
@Page({
|
||||
templateUrl: 'lists/inset-lists.html',
|
||||
templateUrl: 'lists/dividers.html',
|
||||
})
|
||||
export class InsetListsPage {
|
||||
export class BasicDividersPage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Page({
|
||||
templateUrl: 'lists/no-dividers.html',
|
||||
templateUrl: 'lists/inset-lists.html',
|
||||
})
|
||||
export class NoDividersPage {
|
||||
export class BasicInsetListsPage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user