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
  • Parameters

    • frame: Frame

    Returns void

_beginModalNavigation

  • _beginModalNavigation(frame: Frame): void
  • Parameters

    • frame: Frame

    Returns void

_beginPageNavigation

  • Parameters

    • frame: Frame

    Returns NavigationOptions

_closeModalNavigation

  • _closeModalNavigation(): void
  • Returns void

_finishBackPageNavigation

  • _finishBackPageNavigation(frame: Frame): void
  • Parameters

    • frame: Frame

    Returns void

_getOutlets

  • _getOutlets(): Array<Outlet>
  • Returns Array<Outlet>

_setNavigationOptions

  • Parameters

    Returns void

back

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

    • Optional outlet: Outlet
    • Optional frame: Frame

    Returns void

Private callPopState

  • Parameters

    Returns void

canGoBack

  • canGoBack(outlet?: Outlet): boolean
  • Parameters

    Returns boolean

clearOutlet

  • clearOutlet(frame: Frame): void
  • Parameters

    • frame: Frame

    Returns void

Private createOutlet

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

    • outletKey: string
    • path: string
    • segmentGroup: any
    • parent: Outlet
    • Optional modalNavigation: number

    Returns Outlet

findOutlet

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

    • outletKey: string
    • Optional activatedRouteSnapshot: ActivatedRouteSnapshot

    Returns Outlet

Private findOutletByModal

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

    • modalNavigation: number
    • Optional isShowingModal: boolean

    Returns Outlet

forward

  • forward(): void
  • Returns void

getBaseHref

  • getBaseHref(): string
  • Returns string

Private getOutletByFrame

  • getOutletByFrame(frame: Frame): Outlet
  • Parameters

    • frame: Frame

    Returns Outlet

Private getOutletKey

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

    • path: string
    • outletName: string

    Returns string

getPathByOutlets

  • getPathByOutlets(urlSegmentGroup: any): string
  • Parameters

    • urlSegmentGroup: any

    Returns string

getRouteFullPath

  • getRouteFullPath(currentRoute: any): string
  • Parameters

    • currentRoute: any

    Returns string

Private getSegmentGroupByOutlet

  • getSegmentGroupByOutlet(outlet: Outlet): UrlSegmentGroup
  • Parameters

    Returns UrlSegmentGroup

getSegmentGroupFullPath

  • getSegmentGroupFullPath(segmentGroup: UrlSegmentGroup): string
  • Parameters

    • segmentGroup: UrlSegmentGroup

    Returns string

ngOnDestroy

  • ngOnDestroy(): void
  • Returns void

onPopState

  • onPopState(fn: function): void
  • Parameters

    • fn: function
        • (_: any): any
        • Parameters

          • _: any

          Returns any

    Returns void

path

  • path(): string
  • Returns string

prepareExternalUrl

  • prepareExternalUrl(internal: string): string
  • Parameters

    • internal: string

    Returns 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
  • Parameters

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

    Returns void

replaceState

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

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

    Returns void

toString

  • toString(): string
  • Returns string

updateOutletFrame

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

    • outlet: Outlet
    • frame: Frame
    • isEmptyOutletFrame: boolean

    Returns void

Private updateParentsStates

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

    • outlet: Outlet
    • newSegmentGroup: UrlSegmentGroup

    Returns void

Private updateSegmentGroup

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

    • rootNode: any
    • oldSegmentGroup: UrlSegmentGroup
    • newSegmentGroup: UrlSegmentGroup

    Returns void

Private updateStates

  • updateStates(outlet: Outlet, currentSegmentGroup: UrlSegmentGroup): boolean
  • Parameters

    • outlet: Outlet
    • currentSegmentGroup: UrlSegmentGroup

    Returns boolean

Private upsertModalOutlet

  • upsertModalOutlet(parentOutlet: Outlet, segmentedGroup: UrlSegmentGroup): void
  • Parameters

    • parentOutlet: Outlet
    • segmentedGroup: UrlSegmentGroup

    Returns 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