UNPKG

d3-view

Version:

View-model d3 plugin for building interactive data-driven web interfaces

13 lines (11 loc) • 290 B
import { assign } from "d3-let"; import { formElement } from "./field"; // // Fieldset element export default assign({}, formElement, { render() { const tag = this.props.tag || "fieldset", el = this.init(this.createElement(tag, true)); return this.addChildren(el); } });