[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> data-controls.js (summary)

(no description)

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

Defines 7 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  apiFetch()
  select()
  syncSelect()
  dispatch()

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

apiFetch(request)   X-Ref
Dispatches a control action for triggering an api fetch call.

return: {Object} The control descriptor.
param: {Object} request Arguments for the fetch request.

select(...args)   X-Ref
Control for resolving a selector in a registered data store.
Alias for the `resolveSelect` built-in control in the `@wordpress/data` package.

param: {Array} args Arguments passed without change to the `@wordpress/data` control.

syncSelect(...args)   X-Ref
Control for calling a selector in a registered data store.
Alias for the `select` built-in control in the `@wordpress/data` package.

param: {Array} args Arguments passed without change to the `@wordpress/data` control.

dispatch(...args)   X-Ref
Control for dispatching an action in a registered data store.
Alias for the `dispatch` control in the `@wordpress/data` package.

param: {Array} args Arguments passed without change to the `@wordpress/data` control.



Generated: Sun Aug 1 01:00:05 2021 Cross-referenced by PHPXref 0.7.1