mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
refactor(demos): give each component section its own view
This commit is contained in:
73
demos/component-docs/buttons/buttons.ts
Normal file
73
demos/component-docs/buttons/buttons.ts
Normal file
@ -0,0 +1,73 @@
|
||||
import {IonicPlatform, IonicView} from 'ionic/ionic';
|
||||
|
||||
@IonicView({
|
||||
templateUrl: 'buttons/buttons.html',
|
||||
})
|
||||
export class ButtonsPage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@IonicView({
|
||||
templateUrl: 'buttons/block.html',
|
||||
})
|
||||
export class BlockButtonsPage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@IonicView({
|
||||
templateUrl: 'buttons/full.html',
|
||||
})
|
||||
export class FullButtonsPage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@IonicView({
|
||||
templateUrl: 'buttons/outline.html',
|
||||
})
|
||||
export class OutlineButtonsPage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@IonicView({
|
||||
templateUrl: 'buttons/round.html',
|
||||
})
|
||||
export class RoundButtonsPage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@IonicView({
|
||||
templateUrl: 'buttons/fab.html',
|
||||
})
|
||||
export class FabPage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@IonicView({
|
||||
templateUrl: 'buttons/sizes.html',
|
||||
})
|
||||
export class ButtonSizesPage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@IonicView({
|
||||
templateUrl: 'buttons/icons.html',
|
||||
})
|
||||
export class IconButtonsPage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user