UNPKG

ranui

Version:

A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.

2 lines (1 loc) 455 B
const c=require("./chunk-Y2CYZVJY-DPaYLFFP.cjs"),e=require("./src-C9EhKhbk.cjs"),u=require("./chunk-WYO6CB5R-u4mJNOcO.cjs");var l=c.__name(t=>{const{securityLevel:n}=u.getConfig2();let r=e.select_default("body");return n==="sandbox"&&(r=e.select_default((e.select_default(`#i${t}`).node()?.contentDocument??document).body)),r.select(`#${t}`)},"selectSvgElement");Object.defineProperty(exports,"selectSvgElement",{enumerable:!0,get:function(){return l}});