Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @harpsealjs/hijack-history

Index

References

HashType

Re-exports HashType

HistoryAPI

Re-exports HistoryAPI

HistoryCommonChain

Re-exports HistoryCommonChain

HistoryHashChain

Re-exports HistoryHashChain

HistoryListener

Re-exports HistoryListener

HistoryListenerChain

Re-exports HistoryListenerChain

HistoryMonad

Re-exports HistoryMonad

HistoryNameChain

Re-exports HistoryNameChain

HistoryUrlChain

Re-exports HistoryUrlChain

createMonad

Re-exports createMonad

Type aliases

HashType

HashType: false | "slash" | "noslash" | "hashbang"

HistoryCommonChain

HistoryCommonChain: Chainable<HistoryAPI>

HistoryHashChain

HistoryHashChain: TypedChainable<HashType, HistoryAPI>

HistoryListenerChain

HistoryListenerChain: TypedChainable<HistoryListener, HistoryAPI>

HistoryMethodName

HistoryMethodName: "push" | "replace" | "pop"

HistoryMonad

HistoryMonad: Monad<HistoryAPI>

HistoryNameChain

HistoryUrl

HistoryUrl: string | null | undefined

HistoryUrlChain

HistoryUrlChain: TypedChainable<string, HistoryAPI>

Functions

Const create

Const createMonad

Const getPathname

  • getPathname(url: string | null | undefined, hashType: HashType): any

Const hijack

Const pushState

  • pushState(pathname: string): (Anonymous function)

Const replaceState

  • replaceState(pathname: string): (Anonymous function)

Const setHashType

  • setHashType(hashType: HashType): (Anonymous function)

Const setPathname

  • setPathname(pathname?: string, hashType: HashType): any

Const setPop

Const setPush

Const setReplace

Const unhijack

Object literals

Const HASH_PREFIX

HASH_PREFIX: object

hashbang

hashbang: string = "#!/"

noslash

noslash: string = "#"

slash

slash: string = "#/"

Generated using TypeDoc