UNPKG

d3-view

Version:

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

9 lines (7 loc) • 210 B
import { createValueType } from "./type"; export default createValueType({ value(value) { if (arguments.length) this.sel.property("checked", value); else return this.sel.property("checked"); } });