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.

10 lines (9 loc) 331 B
import { n as o } from "./chunk-Y2CYZVJY-0JxdZxki.js"; import { p as e } from "./src-DtRLxcYO.js"; var s = /* @__PURE__ */ o((t, a) => { let n; return a === "sandbox" && (n = e("#i" + t)), (a === "sandbox" ? e(n.nodes()[0].contentDocument.body) : e("body")).select(`[id="${t}"]`); }, "getDiagramElement"); export { s as t };