[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

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

(no description)

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

Defines 34 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  _defineProperty()
  _arrayWithoutHoles()
  _nonIterableSpread()
  _toConsumableArray()
  _iterableToArray()
  createNotice()
  createSuccessNotice()
  createInfoNotice()
  createErrorNotice()
  createWarningNotice()
  removeNotice()
  getNotices()
  wrap()
  tryCatch()
  Generator()
  GeneratorFunction()
  GeneratorFunctionPrototype()
  defineIteratorMethods()
  AsyncIterator()
  invoke()
  enqueue()
  callInvokeWithMethodAndArg()
  makeInvokeMethod()
  maybeInvokeDelegate()
  pushTryEntry()
  resetTryEntry()
  Context()
  values()
  doneResult()
  handle()
  _objectSpread()

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

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

_arrayWithoutHoles(arr)   X-Ref
No description

_nonIterableSpread()   X-Ref
No description

_toConsumableArray(arr)   X-Ref
No description

_iterableToArray(iter)   X-Ref
No description

createNotice()   X-Ref
Yields action objects used in signalling that a notice is to be created.

param: {?string}                status                Notice status.
param: {string}                 content               Notice message.
param: {?Object}                options               Notice options.
param: {?string}                options.context       Context under which to
param: {?string}                options.id            Identifier for notice.
param: {?boolean}               options.isDismissible Whether the notice can
param: {?boolean}               options.speak         Whether the notice
param: {?Array<WPNoticeAction>} options.actions       User actions to be

createSuccessNotice(content, options)   X-Ref
Returns an action object used in signalling that a success notice is to be
created. Refer to `createNotice` for options documentation.

param: {string}  content Notice message.
param: {?Object} options Optional notice options.
return: {Object} Action object.

createInfoNotice(content, options)   X-Ref
Returns an action object used in signalling that an info notice is to be
created. Refer to `createNotice` for options documentation.

param: {string}  content Notice message.
param: {?Object} options Optional notice options.
return: {Object} Action object.

createErrorNotice(content, options)   X-Ref
Returns an action object used in signalling that an error notice is to be
created. Refer to `createNotice` for options documentation.

param: {string}  content Notice message.
param: {?Object} options Optional notice options.
return: {Object} Action object.

createWarningNotice(content, options)   X-Ref
Returns an action object used in signalling that a warning notice is to be
created. Refer to `createNotice` for options documentation.

param: {string}  content Notice message.
param: {?Object} options Optional notice options.
return: {Object} Action object.

removeNotice(id)   X-Ref
Returns an action object used in signalling that a notice is to be removed.

param: {string}  id      Notice unique identifier.
param: {?string} context Optional context (grouping) in which the notice is
return: {Object} Action object.

getNotices(state)   X-Ref
Returns all notices as an array, optionally for a given context. Defaults to
the global context.

param: {Object}  state   Notices state.
param: {?string} context Optional grouping context.
return: {WPNotice[]} Array of notices.

wrap(innerFn, outerFn, self, tryLocsList)   X-Ref
No description

tryCatch(fn, obj, arg)   X-Ref
No description

Generator()   X-Ref
No description

GeneratorFunction()   X-Ref
No description

GeneratorFunctionPrototype()   X-Ref
No description

defineIteratorMethods(prototype)   X-Ref
No description

AsyncIterator(generator)   X-Ref
No description

invoke(method, arg, resolve, reject)   X-Ref
No description

enqueue(method, arg)   X-Ref
No description

callInvokeWithMethodAndArg()   X-Ref
No description

makeInvokeMethod(innerFn, self, context)   X-Ref
No description

maybeInvokeDelegate(delegate, context)   X-Ref
No description

pushTryEntry(locs)   X-Ref
No description

resetTryEntry(entry)   X-Ref
No description

Context(tryLocsList)   X-Ref
No description

values(iterable)   X-Ref
No description

doneResult()   X-Ref
No description

handle(loc, caught)   X-Ref
No description

_objectSpread(target)   X-Ref
No description



Generated: Mon Jun 24 08:20:01 2019 Cross-referenced by PHPXref 0.7