ember-cli-d3 icon indicating copy to clipboard operation
ember-cli-d3 copied to clipboard

Pipe events from d3.dispatch to host Ember object

Open ming-codes opened this issue 9 years ago • 0 comments

Ember.Object.extend({
  brush: Ember.computed(function () {
    return d3.svg.brush();
  })
});

In the event above, d3.svg.brush produces events that cannot be cleanly handled.

When CP is recomputed, the previous brush is discarded with no chance for proper cleanup.

ming-codes avatar Mar 16 '16 23:03 ming-codes