[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/ -> clipboard.js (summary)

(no description)

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

Defines 30 functions

  _typeof()
  _classCallCheck()
  _defineProperties()
  _createClass()
  ClipboardAction()
  clipboard_typeof()
  clipboard_classCallCheck()
  clipboard_defineProperties()
  clipboard_createClass()
  _inherits()
  _setPrototypeOf()
  _createSuper()
  _possibleConstructorReturn()
  _assertThisInitialized()
  _isNativeReflectConstruct()
  _getPrototypeOf()
  getAttributeValue()
  Clipboard()
  closest()
  _delegate()
  delegate()
  listener()
  listen()
  listenNode()
  listenNodeList()
  listenSelector()
  select()
  E()
  listener()
  __webpack_require__()

Functions
Functions that are not part of a class:

_typeof(obj)   X-Ref
No description

_classCallCheck(instance, Constructor)   X-Ref
No description

_defineProperties(target, props)   X-Ref
No description

_createClass(Constructor, protoProps, staticProps)   X-Ref
No description

ClipboardAction(options)   X-Ref

param: {Object} options

clipboard_typeof(obj)   X-Ref
No description

clipboard_classCallCheck(instance, Constructor)   X-Ref
No description

clipboard_defineProperties(target, props)   X-Ref
No description

clipboard_createClass(Constructor, protoProps, staticProps)   X-Ref
No description

_inherits(subClass, superClass)   X-Ref
No description

_setPrototypeOf(o, p)   X-Ref
No description

_createSuper(Derived)   X-Ref
No description

_possibleConstructorReturn(self, call)   X-Ref
No description

_assertThisInitialized(self)   X-Ref
No description

_isNativeReflectConstruct()   X-Ref
No description

_getPrototypeOf(o)   X-Ref
No description

getAttributeValue(suffix, element)   X-Ref
Helper function to retrieve attribute value.

param: {String} suffix
param: {Element} element

Clipboard(trigger, options)   X-Ref

param: {String|HTMLElement|HTMLCollection|NodeList} trigger
param: {Object} options

closest(element, selector)   X-Ref
Finds the closest parent that matches a selector.

param: {Element} element
param: {String} selector
return: {Function}

_delegate(element, selector, type, callback, useCapture)   X-Ref
Delegates event to a selector.

param: {Element} element
param: {String} selector
param: {String} type
param: {Function} callback
param: {Boolean} useCapture
return: {Object}

delegate(elements, selector, type, callback, useCapture)   X-Ref
Delegates event to a selector.

param: {Element|String|Array} [elements]
param: {String} selector
param: {String} type
param: {Function} callback
param: {Boolean} useCapture
return: {Object}

listener(element, selector, type, callback)   X-Ref
Finds closest match and invokes callback.

param: {Element} element
param: {String} selector
param: {String} type
param: {Function} callback
return: {Function}

listen(target, type, callback)   X-Ref
Validates all params and calls the right
listener function based on its target type.

param: {String|HTMLElement|HTMLCollection|NodeList} target
param: {String} type
param: {Function} callback
return: {Object}

listenNode(node, type, callback)   X-Ref
Adds an event listener to a HTML element
and returns a remove listener function.

param: {HTMLElement} node
param: {String} type
param: {Function} callback
return: {Object}

listenNodeList(nodeList, type, callback)   X-Ref
Add an event listener to a list of HTML elements
and returns a remove listener function.

param: {NodeList|HTMLCollection} nodeList
param: {String} type
param: {Function} callback
return: {Object}

listenSelector(selector, type, callback)   X-Ref
Add an event listener to a selector
and returns a remove listener function.

param: {String} selector
param: {String} type
param: {Function} callback
return: {Object}

select(element)   X-Ref
No description

E()   X-Ref
No description

listener()   X-Ref
No description

__webpack_require__(moduleId)   X-Ref
No description



Generated: Sat Jun 12 01:00:05 2021 Cross-referenced by PHPXref 0.7.1