This commit is contained in:
Andrew
2015-04-25 11:48:09 -05:00
parent 7b006db118
commit 14ecc7178b
89 changed files with 3470 additions and 435 deletions

View File

@ -2,7 +2,7 @@ import {NgElement, Decorator} from 'angular2/angular2'
import {IonicComponent} from 'ionic/config/component'
@Decorator({
selector: '.button',
selector: 'ion-button, [ion-button],.button',
})
export class Button {
constructor(
@ -12,4 +12,6 @@ export class Button {
this.config = Button.config.invoke(this)
}
}
new IonicComponent(Button, {})
new IonicComponent(Button, {
propClasses: ['primary', 'secondary', 'danger', 'light', 'stable', 'dark', 'block']
})