[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

(no description)

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

Defines 13 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  _extends()
  _iterableToArrayLimit()
  _slicedToArray()
  _arrayLikeToArray()
  _unsupportedIterableToArray()
  _arrayWithHoles()
  _nonIterableRest()
  reducer()
  actions_setIsMatching()
  isViewportMatch()

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

_extends()   X-Ref
No description

_iterableToArrayLimit(arr, i)   X-Ref
No description

_slicedToArray(arr, i)   X-Ref
No description

_arrayLikeToArray(arr, len)   X-Ref
No description

_unsupportedIterableToArray(o, minLen)   X-Ref
No description

_arrayWithHoles(arr)   X-Ref
No description

_nonIterableRest()   X-Ref
No description

reducer()   X-Ref
Reducer returning the viewport state, as keys of breakpoint queries with
boolean value representing whether query is matched.

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

actions_setIsMatching(values)   X-Ref
Returns an action object used in signalling that viewport queries have been
updated. Values are specified as an object of breakpoint query keys where
value represents whether query matches.

param: {Object} values Breakpoint query matches.
return: {Object} Action object.

isViewportMatch(state, query)   X-Ref
Returns true if the viewport matches the given query, or false otherwise.

param: {Object} state Viewport state object.
param: {string} query Query string. Includes operator and breakpoint name,
return: {boolean} Whether viewport matches query.



Generated: Sat Apr 4 01:00:03 2020 Cross-referenced by PHPXref 0.7.1