MemoryLocationService | @uirouter/core
Options
Menu

Class MemoryLocationService

A LocationServices that gets/sets the current location from an in-memory object

Hierarchy

Implements

Index

Constructors

Properties

_history: HistoryLike
_location: LocationLike
_url: string
fireAfterUpdate: boolean

Methods

  • _get(): string
  • _listener(evt: any): void
  • _set(state: any, title: string, url: string, replace: boolean): void
  • Parameters

    • state any
    • title string
    • url string
    • replace boolean

    Returns void


  • hash(): any
  • onChange(cb: EventListener): (Anonymous function)
  • Parameters

    • cb EventListener

    Returns (Anonymous function)


  • path(): any
  • search(): any
  • url(url?: string, replace?: boolean): string
  • Parameters

    • url: Optional  string
    • replace: Default value  boolean = true

    Returns string


Generated using TypeDoc