HashLocationService | @uirouter/angularjs
Options
Menu

Class HashLocationService

A LocationServices that uses the browser hash "#" to get/set the current location

Hierarchy

Implements

Index

Constructors

Properties

_history: HistoryLike
_location: LocationLike
fireAfterUpdate: boolean

Methods

  • _get(): string
  • Returns string


  • _listener(evt: any): void
  • Parameters

    • evt any

    Returns void


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

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

    Returns void


  • Parameters

    Returns void


  • hash(): any
  • Returns any


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

    • cb EventListener

    Returns (Anonymous function)


  • path(): any
  • Returns any


  • search(): any
  • Returns any


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

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

    Returns string


Generated using TypeDoc