toolbar refactor wip

This commit is contained in:
Adam Bradley
2015-09-16 00:42:22 -05:00
parent a97d7300de
commit abff83a206
14 changed files with 261 additions and 358 deletions

View File

@ -56,15 +56,15 @@ export class Ion {
}
getDimensions() {
return dom.getDimensions(this.elementRef.nativeElement);
return dom.getDimensions(this);
}
width() {
return this.getDimensions().width;
return this.getDimensions().w;
}
height() {
return this.getDimensions().height;
return this.getDimensions().h;
}
}