UNPKG

@antv/x6

Version:

JavaScript diagramming library that uses SVG and HTML for rendering

8 lines (6 loc) 147 B
import type { AttrDefinition } from './index' export const html: AttrDefinition = { set(html, { elem }) { elem.innerHTML = `${html}` }, }