Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PageRouterOutlet

Hierarchy

  • PageRouterOutlet

Implements

  • OnDestroy

Index

Constructors

constructor

  • new PageRouterOutlet(parentContexts: ChildrenOutletContexts, location: ViewContainerRef, name: string, actionBarVisibility: string, isEmptyOutlet: boolean, locationStrategy: NSLocationStrategy, componentFactoryResolver: ComponentFactoryResolver, resolver: ComponentFactoryResolver, changeDetector: ChangeDetectorRef, pageFactory: PageFactory, routeReuseStrategy: NSRouteReuseStrategy, ngZone: NgZone, elRef: ElementRef): PageRouterOutlet

Properties

Private _activatedRoute

_activatedRoute: ActivatedRoute | null

activateEvents

activateEvents: EventEmitter<any>

Private activated

activated: ComponentRef<any> | null

Private changeDetector

changeDetector: ChangeDetectorRef

Private componentFactoryResolver

componentFactoryResolver: ComponentFactoryResolver

deactivateEvents

deactivateEvents: EventEmitter<any>

Private detachedLoaderFactory

detachedLoaderFactory: ComponentFactory<DetachedLoader>

Private frame

frame: Frame

Private isEmptyOutlet

isEmptyOutlet: boolean

Private location

location: ViewContainerRef

Private locationStrategy

locationStrategy: NSLocationStrategy

Private name

name: string

Private ngZone

ngZone: NgZone

Private outlet

outlet: Outlet

Private pageFactory

pageFactory: PageFactory

Private parentContexts

parentContexts: ChildrenOutletContexts

Private resolver

resolver: ComponentFactoryResolver

Private routeReuseStrategy

routeReuseStrategy: NSRouteReuseStrategy

Private viewUtil

viewUtil: ViewUtil

Accessors

activatedRoute

  • get (): ActivatedRoute

component

  • get (): Object

isActivated

  • get (): boolean

locationFactoryResolver

  • get (): ComponentFactoryResolver

locationInjector

  • get (): Injector

Methods

Private activateOnGoForward

  • activateOnGoForward(activatedRoute: ActivatedRoute, loadedResolver: ComponentFactoryResolver): void

activateWith

  • activateWith(activatedRoute: ActivatedRoute, resolver: ComponentFactoryResolver | null): void
  • Called by the Router to instantiate a new component during the commit phase of a navigation. This method in turn is responsible for calling the routerOnActivate hook of its child.

    Parameters

    • activatedRoute: ActivatedRoute
    • resolver: ComponentFactoryResolver | null

    Returns void

attach

  • attach(ref: ComponentRef<any>, activatedRoute: ActivatedRoute): void
  • Called when the RouteReuseStrategy instructs to re-attach a previously detached subtree

    Parameters

    • ref: ComponentRef<any>
    • activatedRoute: ActivatedRoute

    Returns void

deactivate

  • deactivate(): void

detach

  • detach(): ComponentRef<any>

Private getComponentFactory

  • getComponentFactory(activatedRoute: ActivatedRoute, loadedResolver: ComponentFactoryResolver): ComponentFactory<any>

Private getOutlet

  • getOutlet(activatedRouteSnapshot: ActivatedRouteSnapshot): Outlet

Private loadComponentInPage

  • loadComponentInPage(page: Page, componentRef: ComponentRef<any>, navigationContext: any): void

Private markActivatedRoute

  • markActivatedRoute(activatedRoute: ActivatedRoute): void

ngOnDestroy

  • ngOnDestroy(): void

setActionBarVisibility

  • setActionBarVisibility(actionBarVisibility: string): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method