Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NSLocationStrategy

Hierarchy

  • LocationStrategy

Index

Constructors

constructor

Properties

Private _currentNavigationOptions

_currentNavigationOptions: NavigationOptions

_modalNavigationDepth

_modalNavigationDepth: number

Private currentOutlet

currentOutlet: Outlet

Private currentUrlTree

currentUrlTree: UrlTree

Private frameService

frameService: FrameService

Private outlets

outlets: Array<Outlet>

Private popStateCallbacks

popStateCallbacks: function[]

Methods

_beginBackPageNavigation

  • _beginBackPageNavigation(frame: Frame): void

_beginModalNavigation

  • _beginModalNavigation(frame: Frame): void

_beginPageNavigation

_closeModalNavigation

  • _closeModalNavigation(): void

_finishBackPageNavigation

  • _finishBackPageNavigation(frame: Frame): void

_getOutlets

  • _getOutlets(): Array<Outlet>

_setNavigationOptions

back

  • back(outlet?: Outlet, frame?: Frame): void

Private callPopState

canGoBack

  • canGoBack(outlet?: Outlet): boolean

clearOutlet

  • clearOutlet(frame: Frame): void

Private createOutlet

  • createOutlet(outletKey: string, path: string, segmentGroup: any, parent: Outlet, modalNavigation?: number, queryParams?: Params): Outlet

findOutlet

  • findOutlet(outletKey: string, activatedRouteSnapshot?: ActivatedRouteSnapshot): Outlet

Private findOutletByModal

  • findOutletByModal(modalNavigation: number, isShowingModal?: boolean): Outlet

forward

  • forward(): void

getBaseHref

  • getBaseHref(): string

Private getOutletByFrame

  • getOutletByFrame(frame: Frame): Outlet

Private getOutletKey

  • getOutletKey(path: string, outletName: string): string

getPathByOutlets

  • getPathByOutlets(urlSegmentGroup: any): string

getRouteFullPath

  • getRouteFullPath(currentRoute: any): string

Private getSegmentGroupByOutlet

  • getSegmentGroupByOutlet(outlet: Outlet): UrlSegmentGroup

getSegmentGroupFullPath

  • getSegmentGroupFullPath(segmentGroup: UrlSegmentGroup): string

ngOnDestroy

  • ngOnDestroy(): void

onPopState

  • onPopState(fn: function): void

path

  • path(): string

prepareExternalUrl

  • prepareExternalUrl(internal: string): string

pushState

  • pushState(state: any, title: string, url: string, queryParams: string): void
  • Parameters

    • state: any
    • title: string
    • url: string
    • queryParams: string

    Returns void

pushStateInternal

  • pushStateInternal(state: any, title: string, url: string, queryParams: string): void

replaceState

  • replaceState(state: any, title: string, url: string, queryParams: string): void

toString

  • toString(): string

updateOutletFrame

  • updateOutletFrame(outlet: Outlet, frame: Frame, isEmptyOutletFrame: boolean): void

Private updateParentsStates

  • updateParentsStates(outlet: Outlet, newSegmentGroup: UrlSegmentGroup): void

Private updateSegmentGroup

  • updateSegmentGroup(rootNode: any, oldSegmentGroup: UrlSegmentGroup, newSegmentGroup: UrlSegmentGroup): void

Private updateStates

  • updateStates(outlet: Outlet, currentSegmentGroup: UrlSegmentGroup, queryParams: Params): boolean

Private upsertModalOutlet

  • upsertModalOutlet(parentOutlet: Outlet, segmentedGroup: UrlSegmentGroup, queryParams: Params): 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