UNPKG

vue-mermaid-string

Version:

A Vue.js component that turns a Mermaid string into a diagram.

9 lines (8 loc) 286 B
import { _ as a, d as o } from "./entry-B2VX-kxa.js"; var d = /* @__PURE__ */ a((t, e) => { let n; return e === "sandbox" && (n = o("#i" + t)), (e === "sandbox" ? o(n.nodes()[0].contentDocument.body) : o("body")).select(`[id="${t}"]`); }, "getDiagramElement"); export { d as g };