[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

(no description)

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

Defines 28 functions

  command()
  createFakeElement()
  _typeof()
  clipboard_typeof()
  _classCallCheck()
  _defineProperties()
  _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:

command(type)   X-Ref
Executes a given operation type.

return: {Boolean}
param: {String} type

createFakeElement(value)   X-Ref
Creates a fake textarea element with a value.

return: {HTMLElement}
param: {String} value

_typeof(obj)   X-Ref
No description

clipboard_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

_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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select(element)   X-Ref
No description

E()   X-Ref
No description

listener()   X-Ref
No description

__webpack_require__(moduleId)   X-Ref
No description



Generated: Thu Mar 28 01:00:02 2024 Cross-referenced by PHPXref 0.7.1