[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/js/dist/vendor/ -> wp-polyfill-inert.js (summary)

(no description)

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

Defines 6 functions

  _classCallCheck()
  InertRoot()
  InertNode()
  InertManager()
  composedTreeWalk()
  addInertStyle()

Functions
Functions that are not part of a class:

_classCallCheck(instance, Constructor)   X-Ref
No description

InertRoot(rootElement, inertManager)   X-Ref

param: {!HTMLElement} rootElement The HTMLElement at the root of the inert subtree.
param: {!InertManager} inertManager The global singleton InertManager object.

InertNode(node, inertRoot)   X-Ref

param: {!Node} node A focusable element to be made inert.
param: {!InertRoot} inertRoot The inert root element associated with this inert node.

InertManager(document)   X-Ref

param: {!Document} document

composedTreeWalk(node, callback, shadowRootAncestor)   X-Ref
Recursively walk the composed tree from |node|.

param: {!Node} node
param: {(function (!HTMLElement))=} callback Callback to be called for each element traversed,
param: {?ShadowRoot=} shadowRootAncestor The nearest ShadowRoot ancestor, if any.

addInertStyle(node)   X-Ref
Adds a style element to the node containing the inert specific styles

param: {!Node} node



Generated : Sat Apr 27 08:20:02 2024 Cross-referenced by PHPXref