Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Type aliases

Static UrlStateFunction

UrlStateFunction: function

Type declaration

    • (state: any): any
    • Parameters

      • state: any

      Returns any

Constructors

constructor

Properties

Protected app

beautifier

beautifier: SimpleBeautifier

history

history: History

Protected opts

opts: Options

Static getBasePath

getBasePath: getBasePath = Utils.getBasePath

Accessors

initialUrl

  • get initialUrl(): string

pushState

  • get pushState(): (Anonymous function)

replaceState

  • get replaceState(): (Anonymous function)

Methods

build

  • build(route: string, state: State): any

generateRoutes

  • generateRoutes(): any

historyListener

  • historyListener(cb: function): void
  • Parameters

    • cb: function
        • (e: PopStateEvent): void
        • Parameters

          • e: PopStateEvent

          Returns void

    Returns void

init

  • init(): void

parse

  • parse(url: string): Promise<object>

rewind

  • rewind(event: PopStateEvent): void

Object literals

urlState

urlState: object

details

details: detailsUrlState = Utils.detailsUrlState

navigation

navigation: navigationUrlState = Utils.navigationUrlState

pastpurchase

pastpurchase: pastPurchaseUrlState = Utils.pastPurchaseUrlState

search

search: searchUrlState = Utils.searchUrlState

Generated using TypeDoc