The Lasso widget allows users to select an area with the mouse. You will not typically need to interact with
this widget, or create one manually, since the
Surface widget handles all of that for you.
Parameters for the widget.
Function that can return a page location for an event.
DOM Element on which the Lasso will operate.
If true, the lasso is drawn as blank space over the selected area, with elements filling the excluded area.
Optional function to call at the start of a lasso operation.
Optional function to call at the end of a lasso operation.
Optional function to call on each mousemove during a lasso operation.
Optional CSS selector identifying elements that should be filtered and not begin a lasso operation.