[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

(no description)

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

Defines 38 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  _iterableToArrayLimit()
  _slicedToArray()
  _arrayWithoutHoles()
  _nonIterableSpread()
  _toConsumableArray()
  _arrayLikeToArray()
  _unsupportedIterableToArray()
  _iterableToArray()
  _arrayWithHoles()
  _nonIterableRest()
  arrayOf()
  isObjectLike()
  createCache()
  isShallowEqual()
  getRootCache()
  getWeakMapCache()
  clear()
  callSelector()
  ownKeys()
  _objectSpread()
  guides()
  areTipsEnabled()
  dismissedTips()
  triggerGuide()
  dismissTip()
  disableTips()
  enableTips()
  _createForOfIteratorHelper()
  _unsupportedIterableToArray()
  _arrayLikeToArray()
  isTipVisible()
  selectors_areTipsEnabled()
  onClick()
  DotTip()
  _defineProperty()

Functions
Functions that are not part of a class:

__webpack_require__(moduleId)   X-Ref
No description

getDefault()   X-Ref
No description

getModuleExports()   X-Ref
No description

_iterableToArrayLimit(arr, i)   X-Ref
No description

_slicedToArray(arr, i)   X-Ref
No description

_arrayWithoutHoles(arr)   X-Ref
No description

_nonIterableSpread()   X-Ref
No description

_toConsumableArray(arr)   X-Ref
No description

_arrayLikeToArray(arr, len)   X-Ref
No description

_unsupportedIterableToArray(o, minLen)   X-Ref
No description

_iterableToArray(iter)   X-Ref
No description

_arrayWithHoles(arr)   X-Ref
No description

_nonIterableRest()   X-Ref
No description

arrayOf( value )   X-Ref
Returns the first argument as the sole entry in an array.

return: {Array} Value returned as entry in array.
param: {*} value Value to return.

isObjectLike( value )   X-Ref
Returns true if the value passed is object-like, or false otherwise. A value
is object-like if it can support property assignment, e.g. object or array.

return: {boolean} Whether value is object-like.
param: {*} value Value to test.

createCache()   X-Ref
Creates and returns a new cache object.

return: {Object} Cache object.

isShallowEqual( a, b, fromIndex )   X-Ref
Returns true if entries within the two arrays are strictly equal by
reference from a starting index.

return: {boolean} Whether arrays are shallowly equal.
param: {Array}  a         First array.
param: {Array}  b         Second array.
param: {number} fromIndex Index from which to start comparison.

getRootCache()   X-Ref
Returns the root cache. If WeakMap is supported, this is assigned to the
root WeakMap cache set, otherwise it is a shared instance of the default
cache object.

return: {(WeakMap|Object)} Root cache object.

getWeakMapCache( dependants )   X-Ref
Returns the cache for a given dependants array. When possible, a WeakMap
will be used to create a unique cache for each set of dependants. This
is feasible due to the nature of WeakMap in allowing garbage collection
to occur on entries where the key object is no longer referenced. Since
WeakMap requires the key to be an object, this is only possible when the
dependant is object-like. The root cache is created as a hierarchy where
each top-level key is the first entry in a dependants set, the value a
WeakMap where each key is the next dependant, and so on. This continues
so long as the dependants are object-like. If no dependants are object-
like, then the cache is shared across all invocations.

return: {Object} Cache object.
param: {Array} dependants Selector dependants.

clear()   X-Ref
Resets root memoization cache.


callSelector( )   X-Ref
The augmented selector call, considering first whether dependants have
changed before passing it to underlying memoize function.

return: {*} Selector result.
param: {Object} source    Source object for derivation.
param: {...*}   extraArgs Additional arguments to pass to selector.

ownKeys(object, enumerableOnly)   X-Ref
No description

_objectSpread(target)   X-Ref
No description

guides()   X-Ref
Reducer that tracks which tips are in a guide. Each guide is represented by
an array which contains the tip identifiers contained within that guide.

return: {Array} Updated state.
param: {Array} state  Current state.
param: {Object} action Dispatched action.

areTipsEnabled()   X-Ref
Reducer that tracks whether or not tips are globally enabled.

return: {boolean} Updated state.
param: {boolean} state Current state.
param: {Object} action Dispatched action.

dismissedTips()   X-Ref
Reducer that tracks which tips have been dismissed. If the state object
contains a tip identifier, then that tip is dismissed.

return: {Object} Updated state.
param: {Object} state  Current state.
param: {Object} action Dispatched action.

triggerGuide(tipIds)   X-Ref
Returns an action object that, when dispatched, presents a guide that takes
the user through a series of tips step by step.

return: {Object} Action object.
param: {string[]} tipIds Which tips to show in the guide.

dismissTip(id)   X-Ref
Returns an action object that, when dispatched, dismisses the given tip. A
dismissed tip will not show again.

return: {Object} Action object.
param: {string} id The tip to dismiss.

disableTips()   X-Ref
Returns an action object that, when dispatched, prevents all tips from
showing again.

return: {Object} Action object.

enableTips()   X-Ref
Returns an action object that, when dispatched, makes all tips show again.

return: {Object} Action object.

_createForOfIteratorHelper(o)   X-Ref
No description

_unsupportedIterableToArray(o, minLen)   X-Ref
No description

_arrayLikeToArray(arr, len)   X-Ref
No description

isTipVisible(state, tipId)   X-Ref
Determines whether or not the given tip is showing. Tips are hidden if they
are disabled, have been dismissed, or are not the current tip in any
guide that they have been added to.

return: {boolean} Whether or not the given tip is showing.
param: {Object} state Global application state.
param: {string} tipId The tip to query.

selectors_areTipsEnabled(state)   X-Ref
Returns whether or not tips are globally enabled.

return: {boolean} Whether tips are globally enabled.
param: {Object} state Global application state.

onClick(event)   X-Ref
No description

DotTip(_ref)   X-Ref
No description

_defineProperty(obj, key, value)   X-Ref
No description



Generated: Fri Sep 25 01:00:03 2020 Cross-referenced by PHPXref 0.7.1