MCPcopy Create free account
hub / github.com/JackPu/freleap.github.io / getActiveElement

Function getActiveElement

react-core-loading-spinner/bundle.js:10726–10736  ·  view source on GitHub ↗

* Same as document.activeElement but wraps in a try-catch block. In IE it is * not safe to call document.activeElement if there is nothing focused. * * The activeElement will be null only if the document or document body is not * yet defined. * * @param {?DOMDocument} doc Defaults to cur

(doc)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

getSelectionInformationFunction · 0.70
restoreSelectionFunction · 0.70
constructSelectEventFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected