feat(Ion): Base component class

This commit is contained in:
Max Lynch
2015-06-30 10:46:36 -05:00
parent 1927cb8bb1
commit 39bd7efdfd
8 changed files with 38 additions and 18 deletions

View File

@@ -57,8 +57,8 @@ export class Aside {
}
onInit() {
console.log('Aside content', this.content);
this.contentElement = (this.content instanceof Node) ? this.content : this.content.ele;
this.contentElement = (this.content instanceof Node) ? this.content : this.content.getNativeElement();
console.log('Aside content', this.content, this.contentElement);
Aside.applyConfig(this);
this.gestureDelegate = Aside.getDelegate(this, 'gesture');