Improved DragBox API
Pre-release
Pre-release
·
8873 commits
to master
since this release
API for DragBoxInteraction now includes setBox(x0, x1, y0, y1) (for XYDragBoxInteraction) and setBox(x0, x1) (for XDragBoxInteraction) which allows programmatic control of where the selection box is.
Also, when the box is cleared by the user clicking, the callback is called with a null argument.