import { SVG_NS } from './constants' ; export default function createHiddenSvgNode ( ) { const svgNode = document . createElementNS ( SVG_NS , 'svg' ) ; svgNode . style . position = 'absolute' ; svgNode . style . top = '-100%' ; svgNode . style . left = '-100%' ; svgNode . style . width = '0' ; svgNode . style . height = '0' ; svgNode . style . opacity = '0' ; svgNode . style . pointerEvents = 'none' ; return svgNode ; }