Change onBoxEnd property in DragBox options to optional
This commit is contained in:
@@ -28,7 +28,7 @@ import RenderBox from '../render/Box.js';
|
||||
* @property {EndCondition} [boxEndCondition] A function that takes a {@link module:ol/MapBrowserEvent~MapBrowserEvent} and two
|
||||
* {@link module:ol/pixel~Pixel}s to indicate whether a `boxend` event should be fired.
|
||||
* Default is `true` if the area of the box is bigger than the `minArea` option.
|
||||
* @property {function(this:DragBox, import("../MapBrowserEvent.js").default)} onBoxEnd Code to execute just
|
||||
* @property {function(this:DragBox, import("../MapBrowserEvent.js").default)} [onBoxEnd] Code to execute just
|
||||
* before `boxend` is fired.
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user