init 3
This commit is contained in:
12
node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
generated
vendored
Normal file
12
node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { isSVGElement } from './is-svg-element.mjs';
|
||||
|
||||
/**
|
||||
* Checks if an element is specifically an SVGSVGElement (the root SVG element)
|
||||
* in a way that works across iframes
|
||||
*/
|
||||
function isSVGSVGElement(element) {
|
||||
return isSVGElement(element) && element.tagName === "svg";
|
||||
}
|
||||
|
||||
export { isSVGSVGElement };
|
||||
//# sourceMappingURL=is-svg-svg-element.mjs.map
|
||||
Reference in New Issue
Block a user