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
|
* @classdesc
|
||||||
* Handles input of vector data by drag and drop.
|
* Handles input of vector data by drag and drop.
|
||||||
@@ -97,6 +107,21 @@ class DragAndDrop extends Interaction {
|
|||||||
handleEvent: TRUE,
|
handleEvent: TRUE,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/***
|
||||||
|
* @type {DragAndDropOnSignature<import("../Observable").OnReturn>}
|
||||||
|
*/
|
||||||
|
this.on;
|
||||||
|
|
||||||
|
/***
|
||||||
|
* @type {DragAndDropOnSignature<import("../Observable").OnReturn>}
|
||||||
|
*/
|
||||||
|
this.once;
|
||||||
|
|
||||||
|
/***
|
||||||
|
* @type {DragAndDropOnSignature<void>}
|
||||||
|
*/
|
||||||
|
this.un;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
|
|||||||
Reference in New Issue
Block a user