[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

(no description)

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

Defines 70 functions

  createMap()
  generateMatch()
  match()
  addRoute()
  eachRoute()
  normalizePath()
  normalizeSegment()
  encodePathSegment()
  getParam()
  parse()
  isEqualCharSpec()
  isMatch()
  sortSolutions()
  recognizeChar()
  findHandler()
  decodeQueryParamPart()
  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()
  getLocationWithQuery()
  useLocation()
  useHistory()
  useMatch()
  RouterProvider()
  useLink()
  onClick()
  Link()

Functions
Functions that are not part of a class:

createMap()   X-Ref
No description

generateMatch(startingPath, matcher, delegate)   X-Ref
No description

match(path, callback)   X-Ref
No description

addRoute(routeArray, path, handler)   X-Ref
No description

eachRoute(baseRoute, matcher, callback, binding)   X-Ref
No description

normalizePath(path)   X-Ref
No description

normalizeSegment(segment)   X-Ref
No description

encodePathSegment(str)   X-Ref
No description

getParam(params, key)   X-Ref
No description

parse(segments, route, types)   X-Ref
No description

isEqualCharSpec(spec, char, negate)   X-Ref
No description

isMatch(spec, char)   X-Ref
No description

sortSolutions(states)   X-Ref
No description

recognizeChar(states, ch)   X-Ref
No description

findHandler(state, originalPath, queryParams)   X-Ref
No description

decodeQueryParamPart(part)   X-Ref
No description

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.


getLocationWithQuery()   X-Ref
No description

useLocation()   X-Ref
No description

useHistory()   X-Ref
No description

useMatch(location, matcher, pathArg)   X-Ref
No description

RouterProvider({routes,pathArg,beforeNavigate,children})   X-Ref
No description

useLink(to, options = {})   X-Ref
Internal dependencies


onClick(event)   X-Ref
No description

Link({to,options,children,...props})   X-Ref
No description



Generated : Sun Mar 9 08:20:01 2025 Cross-referenced by PHPXref