Skip to content

Improved DragBox API

Pre-release
Pre-release

Choose a tag to compare

@teamdandelion teamdandelion released this 02 May 18:51
· 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.