Use generics to limit event types in on(), once() and un()
This commit is contained in:
@@ -103,6 +103,7 @@ export class DragBoxEvent extends Event {
|
||||
* {@link module:ol/interaction/DragRotateAndZoom}).
|
||||
*
|
||||
* @fires DragBoxEvent
|
||||
* @extends PointerInteraction<'boxcancel'|'boxdrag'|'boxend'>
|
||||
* @api
|
||||
*/
|
||||
class DragBox extends PointerInteraction {
|
||||
|
||||
Reference in New Issue
Block a user