BaseLocationServices | @uirouter/angularjs
Options
Menu

Class BaseLocationServices

A base LocationServices

Hierarchy

Implements

Index

Constructors

Properties

_history: HistoryLike
_listeners: Function[] = []
_location: LocationLike
fireAfterUpdate: boolean

Methods

  • _get(): string
  • This should return the current internal URL representation.

  • This should return the current internal URL representation.

    The internal URL includes only the portion that UI-Router matches. It does not include:

    • protocol
    • server
    • port
    • base href or hash

    Returns string


  • _listener(evt: any): void
  • _set(state: any, title: string, url: string, replace: boolean): any
  • This should set the current URL.

  • This should set the current URL.

    The url param should include only the portion that UI-Router matches on. It should not include:

    • protocol
    • server
    • port
    • base href or hash

    However, after this function completes, the browser URL should reflect the entire (fully qualified) HREF including those data.

    Parameters

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

    Returns any


  • hash(): any
  • onChange(cb: EventListener): (Anonymous function)
  • path(): any
  • search(): any
  • url(url?: string, replace?: boolean): string

Generated using TypeDoc