Jimbo
Jimbo
Agreed on the utility of a `.clear()` method. This seems to be a common enough case to make an API for it. In the meantime, one workaround is to `.bind()`...
Proposed API: ```ts selection.onClick((e: MouseEvent, s: SpriteView, d: Datum, index: number, arry: Datum[]) => { /* ... */ }); selection.onMouseover((e: MouseEvent, s: SpriteView, d: Datum, index: number, arry: Datum[]) =>...
> However, elements in a MegaPlot Selection all get mapped to the same canvas element, which doesn't inherently afford per-datum mouse event associations, Yes, the underlying DOM events would be...