Update function return types
This commit is contained in:
@@ -10,7 +10,7 @@ import {getValues} from '../obj.js';
|
||||
* @property {function(import("../MapBrowserEvent.js").default):boolean} [handleDownEvent]
|
||||
* Function handling "down" events. If the function returns `true` then a drag
|
||||
* sequence is started.
|
||||
* @property {function(import("../MapBrowserEvent.js").default)} [handleDragEvent]
|
||||
* @property {function(import("../MapBrowserEvent.js").default):void} [handleDragEvent]
|
||||
* Function handling "drag" events. This function is called on "move" events
|
||||
* during a drag sequence.
|
||||
* @property {function(import("../MapBrowserEvent.js").default):boolean} [handleEvent]
|
||||
@@ -18,7 +18,7 @@ import {getValues} from '../obj.js';
|
||||
* dispatched to the map. The function may return `false` to prevent the
|
||||
* propagation of the event to other interactions in the map's interactions
|
||||
* chain.
|
||||
* @property {function(import("../MapBrowserEvent.js").default)} [handleMoveEvent]
|
||||
* @property {function(import("../MapBrowserEvent.js").default):void} [handleMoveEvent]
|
||||
* Function handling "move" events. This function is called on "move" events.
|
||||
* This functions is also called during a drag sequence, so during a drag
|
||||
* sequence both the `handleDragEvent` function and this function are called.
|
||||
|
||||
Reference in New Issue
Block a user