Ng2LocationServices | @uirouter/angular
Options
Menu

Class Ng2LocationServices

A LocationServices that delegates to the Angular LocationStrategy

Hierarchy

  • BaseLocationServices
    • Ng2LocationServices

Implements

  • LocationServices
  • Disposable

Index

Constructors

  • new Ng2LocationServices(router: UIRouter, _locationStrategy: LocationStrategy, isBrowser: boolean): Ng2LocationServices

Properties

_history: HistoryLike
_listener: function

Type declaration

    • (evt: any): void
    • Parameters

      • evt any

      Returns void

_location: LocationLike
_locationStrategy: LocationStrategy
fireAfterUpdate: boolean
hash: function

Type declaration

    • (): any
    • Returns any

path: function

Type declaration

    • (): any
    • Returns any

search: function

Type declaration

    • (): any
    • Returns any

Methods

  • _get(): string
  • _set(state: any, title: string, url: string, replace: boolean): any
  • dispose(router: UIRouter): void
  • onChange(cb: EventListener): function
  • Parameters

    • cb EventListener

    Returns function

      • (): Function[]
      • Returns Function[]


  • url(url?: string, replace?: boolean): string
  • Parameters

    • url: Optional  string
    • replace: Optional  boolean

    Returns string


Generated using TypeDoc