tabs advanced wip

This commit is contained in:
Adam Bradley
2015-06-01 10:55:37 -05:00
parent 123f3f31be
commit e30eb187dc
10 changed files with 137 additions and 100 deletions

View File

@ -15,20 +15,15 @@ const CACHED_STATE = 'cached';
export class NavBase {
constructor(loader, injector) {
constructor(elementRef, loader, injector) {
this.elementRef = elementRef;
this.loader = loader;
this.injector = injector;
this.items = [];
this.navCtrl = new NavController(this);
this.sbTransition = null;
this.sbActive = false;
}
set initial(Component) {
if (!this._init && Component) {
this._init = true;
this.push(Component);
}
this.domElement = elementRef.domElement;
}
clear() {