code: function getSvgDefsElement() {
    // return if found
    const defsElement = document.getElementById('precision-inputs-svg-defs');
    if (defsElement) { return defsElement; }
  
    // otherwise create it
    const svg = document.createElementNS(svgNS, 'svg');
    svg.style.position = 'absolute';
    svg.style.left = 0;
    svg.style.top = 0;
    svg.style.width = 0;
    svg.style.height = 0;
    svg.style.opacity = 0;
    const defs = document.createElementNS(svgNS, 'defs');
    defs.id = 'precision-inputs-svg-defs';
    svg.appendChild(defs);
    document.body.appendChild(svg);
  
    return defs;
  }
docs: Global Defs - Filters/Gradients/etc