mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
update to angular 2.0.0-alpha.21, update toolbar system
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
import {NgElement, Component, View as NgView, PropertySetter} from 'angular2/angular2';
|
||||
import {
|
||||
NgElement,
|
||||
Component,
|
||||
View as NgView,
|
||||
} from 'angular2/angular2';
|
||||
|
||||
@Component({
|
||||
selector: 'ion-content'
|
||||
@@ -13,6 +17,7 @@ export class Content {
|
||||
constructor(
|
||||
@NgElement() element:NgElement
|
||||
) {
|
||||
console.log('constructing content', element.domElement);
|
||||
this.domElement = element.domElement;
|
||||
this.domElement.classList.add('content');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user