import { EventEmitter } from '@angular/core' ; import { Config } from '../config/config' ; import { NavOptions , TransitionDoneFn } from './nav-util' ; import { Page } from './nav-util' ; import { ViewController } from './view-controller' ; import { NavigationContainer } from './navigation-container' ; name description Component Component ViewChild Component Component Component Component Component see {@link /docs/components#navigation Navigation Component Docs} export abstract class NavController implements NavigationContainer { returns { Observable } viewDidLoad : EventEmitter < any > ; returns { Observable } viewWillEnter : EventEmitter < any > ; returns { Observable } viewDidEnter : EventEmitter < any > ; returns { Observable } viewWillLeave : EventEmitter < any > ; returns { Observable } viewDidLeave : EventEmitter < any > ; returns { Observable } viewWillUnload : EventEmitter < any > ; hidden id : string ; hidden name : string ; /**
     * The parent navigation instance. If this is the root nav, then
     * it'll be `null`. A `Tab` instance's parent is `Tabs`, otherwise
     * the parent would be another nav, if it's not already the root nav.
     */ parent : any ; hidden config : Config ; input swipeBackEnabled : boolean ; param { Page | string } page param { object } params param { object } opts returns { Promise } abstract push ( page , params ? , opts ? , done ? ) ; param { number } insertIndex param { Page | string } page param { object } params param { object } opts returns { Promise } abstract insert ( insertIndex , page , params ? , opts ? , done ? ) ; param { number } insertIndex param { array } insertPages param { object } opts returns { Promise } abstract insertPages ( insertIndex , insertPages , opts ? , done ? ) ; param { object } opts returns { Promise } abstract pop ( opts ? , done ? ) ; param { object } opts returns { Promise } abstract popToRoot ( opts ? , done ? ) ; hidden param { Page | string | ViewController } page param { object } opts returns { Promise } abstract popTo ( page , opts ? , done ? ) ; hidden returns { Promise } abstract popAll ( ) ; param { number } startIndex param { number } removeCount param { object } opts returns { Promise } abstract remove ( startIndex , removeCount ? , opts ? , done ? ) ; param { ViewController } viewController param { object } opts returns { Promise } abstract removeView ( viewController , opts ? , done ? ) ; param { Page | string | ViewController } pageOrViewCtrl param { object } params param { object } opts param { Function } done returns { Promise } abstract setRoot ( pageOrViewCtrl , params ? , opts ? , done ? ) ; abstract goToRoot ( options ) ; param { Array < { page : any , params : any } > } pages param { Object } opts returns { Promise } abstract setPages ( pages , opts ? , done ? ) ; param { number } index returns { ViewController } abstract getByIndex ( index ) ; returns { ViewController } abstract getActive ( includeEntering ? ) ; param { ViewController } view returns { boolean } abstract isActive ( view ) ; param { ViewController } view returns { viewController } abstract getPrevious ( view ? ) ; returns { ViewController } abstract first ( ) ; returns { ViewController } abstract last ( ) ; param { ViewController } view returns { number } abstract indexOf ( view ) ; returns { number } abstract length ( ) ; returns { Array < ViewController > } abstract getViews ( ) ; /**
     * Returns a list of the active child navigation.
     */ abstract getActiveChildNavs ( ) ; /**
     * Returns the active child navigation.
     */ abstract getActiveChildNav ( ) ; /**
     * Returns a list of all child navigation containers
     */ abstract getAllChildNavs ( ) ; return { boolean } abstract isTransitioning ( includeAncestors ? ) ; returns { boolean } abstract canSwipeBack ( ) ; returns { boolean } abstract canGoBack ( ) ; hidden abstract registerChildNav ( nav ) ; hidden abstract resize ( ) ; abstract getType ( ) ; abstract getSecondaryIdentifier ( ) ; }