UNPKG

ionic-framework

Version:

An advanced HTML5 mobile app framework built on Angular2

17 lines (16 loc) 729 B
import { ElementRef, DynamicComponentLoader } from 'angular2/core'; import { RouterOutlet, Router, ComponentInstruction } from 'angular2/router'; import { Nav } from './nav'; import { ViewController } from './view-controller'; /** * @private */ export declare class NavRouter extends RouterOutlet { private _nav; private _lastUrl; constructor(_elementRef: ElementRef, _loader: DynamicComponentLoader, _parentRouter: Router, nameAttr: string, _nav: Nav); activate(nextInstruction: ComponentInstruction): Promise<any>; reuse(nextInstruction: ComponentInstruction): Promise<void>; stateChange(direction: string, viewCtrl: ViewController): void; getPathRecognizerByComponent(componentType: any): any; }