aside: fix an error

This commit is contained in:
Andrew
2015-03-31 13:14:11 -06:00
parent a4527c3ac4
commit bd45ee58da
9 changed files with 14 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
import {NgElement, Component, Template} from 'angular2/angular2'
import {IonicComponent} from 'ionic2/config/component'
@Component({
selector: 'ion-item'
@@ -16,6 +17,8 @@ import {NgElement, Component, Template} from 'angular2/angular2'
})
export class Item {
constructor(@NgElement() ele:NgElement) {
ele.domElement.classList.add('item')
Item.config.invoke(this)
}
}
new IonicComponent(Item, {})