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


  • hash(): any
  • onChange(cb: EventListener): (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