refactor(demos): make each button section a module

This commit is contained in:
Drew Rygh
2015-11-04 16:05:13 -06:00
parent 9df5b5982f
commit d5d05a267f
22 changed files with 152 additions and 124 deletions

View File

@ -1,103 +1,10 @@
import {Page} from 'ionic/ionic';
import {forwardRef} from 'angular2/angular2';
import {AndroidAttribute} from '../helpers';
@Page({
templateUrl: 'buttons/buttons.html',
directives: [forwardRef(() => AndroidAttribute)]
})
export class ButtonsPage {
constructor() {
}
}
@Page({
templateUrl: 'buttons/block.html',
directives: [forwardRef(() => AndroidAttribute)]
})
export class BlockButtonsPage {
constructor() {
}
}
@Page({
templateUrl: 'buttons/clear.html',
directives: [forwardRef(() => AndroidAttribute)]
})
export class ClearButtonsPage {
constructor() {
}
}
@Page({
templateUrl: 'buttons/full.html',
directives: [forwardRef(() => AndroidAttribute)]
})
export class FullButtonsPage {
constructor() {
}
}
@Page({
templateUrl: 'buttons/outline.html',
directives: [forwardRef(() => AndroidAttribute)]
})
export class OutlineButtonsPage {
constructor() {
}
}
@Page({
templateUrl: 'buttons/round.html',
directives: [forwardRef(() => AndroidAttribute)]
})
export class RoundButtonsPage {
constructor() {
}
}
@Page({
templateUrl: 'buttons/fab.html',
directives: [forwardRef(() => AndroidAttribute)]
})
export class FabPage {
constructor() {
}
}
@Page({
templateUrl: 'buttons/sizes.html',
directives: [forwardRef(() => AndroidAttribute)]
})
export class ButtonSizesPage {
constructor() {
}
}
@Page({
templateUrl: 'buttons/icons.html',
directives: [forwardRef(() => AndroidAttribute)]
})
export class IconButtonsPage {
constructor() {
}
}
@Page({
templateUrl: 'buttons/components.html',
directives: [forwardRef(() => AndroidAttribute)]
})
export class ButtonsInComponentsPage {
constructor() {
}
}
export * from './basic/pages';
export * from './block/pages';
export * from './clear/pages';
export * from './components/pages';
export * from './fab/pages';
export * from './full/pages';
export * from './icons/pages';
export * from './outline/pages';
export * from './round/pages';
export * from './sizes/pages';