MCPcopy Create free account
hub / github.com/docker/getting-started / activeElement

Function activeElement

app/src/static/js/react-bootstrap.js:8900–8910  ·  view source on GitHub ↗
(doc)

Source from the content-addressed store, hash-verified

8898var _ownerDocument = _interopRequireDefault(__webpack_require__(16));
8899
8900function activeElement(doc) {
8901 if (doc === void 0) {
8902 doc = (0, _ownerDocument.default)();
8903 }
8904
8905 try {
8906 return doc.activeElement;
8907 } catch (e) {
8908 /* ie throws if no active element */
8909 }
8910}
8911
8912module.exports = exports["default"];
8913

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…