vue-mermaid-string
Version:
A Vue.js component that turns a Mermaid string into a diagram.
16 lines (15 loc) • 313 B
JavaScript
import { _ as s } from "./entry-B2VX-kxa.js";
var t, e = (t = class {
/**
* @param init - Function that creates the default state.
*/
constructor(i) {
this.init = i, this.records = this.init();
}
reset() {
this.records = this.init();
}
}, s(t, "ImperativeState"), t);
export {
e as I
};