Blame view

天文台pc/tianwentai-ui/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs 358 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
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