UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

6 lines (5 loc) 609 B
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.33/esri/copyright.txt for details. */ function t(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function e(){const e=t("svg");return e.setAttribute("style","position: absolute;"),e.setAttribute("width","0"),e.setAttribute("height","0"),e.setAttribute("aria-hidden","true"),e.setAttribute("role","presentation"),document.body.appendChild(e),e}function n(t){return null!=t&&document.body.removeChild(t),null}export{e as createHiddenSvg,t as createSvgElement,n as destroyHiddenSvg};