mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
i'm all about that base
This commit is contained in:
@ -12,19 +12,20 @@ import {bind} from 'angular2/di';
|
||||
import {NavController} from './nav-controller';
|
||||
import {NavItem, NavParams} from './nav-item';
|
||||
import {Pane, NavBarSection} from './pane';
|
||||
import {Transition, ClickBlock} from 'ionic/ionic';
|
||||
import {Transition} from '../../transitions/transition';
|
||||
import {ClickBlock} from '../../util/click-block';
|
||||
import * as util from 'ionic/util';
|
||||
|
||||
|
||||
export class NavBase {
|
||||
|
||||
constructor(
|
||||
parent: NavBase,
|
||||
compiler: Compiler,
|
||||
elementRef: ElementRef,
|
||||
loader: DynamicComponentLoader,
|
||||
injector: Injector
|
||||
) {
|
||||
parent: NavBase,
|
||||
compiler: Compiler,
|
||||
elementRef: ElementRef,
|
||||
loader: DynamicComponentLoader,
|
||||
injector: Injector
|
||||
) {
|
||||
|
||||
this.parent = parent;
|
||||
this.compiler = compiler;
|
||||
@ -43,10 +44,6 @@ export class NavBase {
|
||||
this.childIds = -1;
|
||||
}
|
||||
|
||||
initial(ComponentClass) {
|
||||
this.push(ComponentClass);
|
||||
}
|
||||
|
||||
setPaneAnchor(elementRef) {
|
||||
this.anchorElementRef = elementRef;
|
||||
}
|
||||
|
Reference in New Issue
Block a user