Initial commit
This commit is contained in:
1
wwwroot/lib/popper.js/esm/dom-utils/instanceOf.min.js
vendored
Normal file
1
wwwroot/lib/popper.js/esm/dom-utils/instanceOf.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
import getWindow from"./getWindow.js";function isElement(n){return n instanceof getWindow(n).Element||n instanceof Element}function isHTMLElement(n){return n instanceof getWindow(n).HTMLElement||n instanceof HTMLElement}function isShadowRoot(n){return"undefined"!=typeof ShadowRoot&&(n instanceof getWindow(n).ShadowRoot||n instanceof ShadowRoot)}export{isElement,isHTMLElement,isShadowRoot};
|
||||
Reference in New Issue
Block a user