Add DragAndDropInteraction.
This commit is contained in:
committed by
Andreas Hocevar
parent
e9e664f3c9
commit
0641bd47ce
@@ -74,6 +74,16 @@ export class DragAndDropEvent extends Event {
|
||||
}
|
||||
}
|
||||
|
||||
/***
|
||||
* @template Return
|
||||
* @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
|
||||
* import("../Observable").OnSignature<import("../ObjectEventType").Types|
|
||||
* 'change:active', import("../Object").ObjectEvent, Return> &
|
||||
* import("../Observable").OnSignature<'addfeatures', DragAndDropEvent, Return> &
|
||||
* import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("../ObjectEventType").Types|
|
||||
* 'change:active'|'addfeatures', Return>} DragAndDropOnSignature
|
||||
*/
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* Handles input of vector data by drag and drop.
|
||||
@@ -97,6 +107,21 @@ class DragAndDrop extends Interaction {
|
||||
handleEvent: TRUE,
|
||||
});
|
||||
|
||||
/***
|
||||
* @type {DragAndDropOnSignature<import("../Observable").OnReturn>}
|
||||
*/
|
||||
this.on;
|
||||
|
||||
/***
|
||||
* @type {DragAndDropOnSignature<import("../Observable").OnReturn>}
|
||||
*/
|
||||
this.once;
|
||||
|
||||
/***
|
||||
* @type {DragAndDropOnSignature<void>}
|
||||
*/
|
||||
this.un;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {boolean}
|
||||
|
||||
Reference in New Issue
Block a user