This commit is contained in:
Adam Bradley
2015-04-02 15:02:01 -05:00
parent 174337fe84
commit cdce613756
11 changed files with 121 additions and 174 deletions

View File

@ -0,0 +1,15 @@
import {NgElement, Decorator} from 'angular2/angular2'
import {IonicComponent} from 'ionic2/config/component'
@Decorator({
selector: '.button',
})
export class Button {
constructor(
@NgElement() ngElement:NgElement
) {
this.domElement = ngElement.domElement
this.config = Button.config.invoke(this)
}
}
new IonicComponent(Button, {})