[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/js/dist/ -> router.js (summary)

(no description)

File Size: 959 lines (27 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 52 functions

  extends_extends()
  warning()
  createBrowserHistory()
  getIndexAndLocation()
  handlePop()
  createHref()
  getNextLocation()
  getHistoryStateAndUrl()
  allowTx()
  applyTx()
  push()
  retry()
  replace()
  retry()
  go()
  createHashHistory()
  getIndexAndLocation()
  handlePop()
  getBaseHref()
  createHref()
  getNextLocation()
  getHistoryStateAndUrl()
  allowTx()
  applyTx()
  push()
  retry()
  replace()
  retry()
  go()
  createMemoryHistory()
  createHref()
  getNextLocation()
  allowTx()
  applyTx()
  push()
  retry()
  replace()
  retry()
  go()
  retry()
  clamp()
  promptBeforeUnload()
  createEvents()
  createKey()
  createPath()
  parsePath()
  push()
  replace()
  useLocation()
  useHistory()
  getLocationWithParams()
  RouterProvider()

Functions
Functions that are not part of a class:

extends_extends()   X-Ref
No description

warning(cond, message)   X-Ref
No description

createBrowserHistory(options)   X-Ref
Browser history stores the location in regular URLs. This is the standard for
most web apps, but it requires some configuration on the server to ensure you
serve the same app at multiple URLs.


getIndexAndLocation()   X-Ref
No description

handlePop()   X-Ref
No description

createHref(to)   X-Ref
No description

getNextLocation(to, state)   X-Ref
No description

getHistoryStateAndUrl(nextLocation, index)   X-Ref
No description

allowTx(action, location, retry)   X-Ref
No description

applyTx(nextAction)   X-Ref
No description

push(to, state)   X-Ref
No description

retry()   X-Ref
No description

replace(to, state)   X-Ref
No description

retry()   X-Ref
No description

go(delta)   X-Ref
No description

createHashHistory(options)   X-Ref
Hash history stores the location in window.location.hash. This makes it ideal
for situations where you don't want to send the location to the server for
some reason, either because you do cannot configure it or the URL space is
reserved for something else.


getIndexAndLocation()   X-Ref
No description

handlePop()   X-Ref
No description

getBaseHref()   X-Ref
No description

createHref(to)   X-Ref
No description

getNextLocation(to, state)   X-Ref
No description

getHistoryStateAndUrl(nextLocation, index)   X-Ref
No description

allowTx(action, location, retry)   X-Ref
No description

applyTx(nextAction)   X-Ref
No description

push(to, state)   X-Ref
No description

retry()   X-Ref
No description

replace(to, state)   X-Ref
No description

retry()   X-Ref
No description

go(delta)   X-Ref
No description

createMemoryHistory(options)   X-Ref
Memory history stores the current location in memory. It is designed for use
in stateful non-browser environments like tests and React Native.


createHref(to)   X-Ref
No description

getNextLocation(to, state)   X-Ref
No description

allowTx(action, location, retry)   X-Ref
No description

applyTx(nextAction, nextLocation)   X-Ref
No description

push(to, state)   X-Ref
No description

retry()   X-Ref
No description

replace(to, state)   X-Ref
No description

retry()   X-Ref
No description

go(delta)   X-Ref
No description

retry()   X-Ref
No description

clamp(n, lowerBound, upperBound)   X-Ref
No description

promptBeforeUnload(event)   X-Ref
No description

createEvents()   X-Ref
No description

createKey()   X-Ref
No description

createPath(_ref)   X-Ref
Creates a string URL path from the given pathname, search, and hash components.


parsePath(path)   X-Ref
Parses a string URL path into its separate pathname, search, and hash components.


push(params, state)   X-Ref
No description

replace(params, state)   X-Ref
No description

useLocation()   X-Ref
No description

useHistory()   X-Ref
No description

getLocationWithParams(location)   X-Ref
No description

RouterProvider({children})   X-Ref
No description



Generated : Sat Apr 27 08:20:02 2024 Cross-referenced by PHPXref