UNPKG

d3-view

Version:

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

8 lines (7 loc) • 202 B
// // Return the model owning the reactive attribute attr export default function(attr) { if (!this.$events.has(attr)) return this.parent ? this.parent.$owner(attr) : undefined; return this; }