Revert "Merge pull request #12416 from ahocevar/eventtype-generics"
This reverts commitb6c143deb2, reversing changes made to7777821df5.
This commit is contained in:
committed by
Andreas Hocevar
parent
a2f441715b
commit
c8f43050c4
@@ -82,7 +82,6 @@ export class DragAndDropEvent extends Event {
|
||||
* combinnation of formats read both text string and ArrayBuffer sources. Older browsers such
|
||||
* as IE which do not support this will need a TextDecoder polyfill to be loaded before use.
|
||||
*
|
||||
* @extends Interaction<'addfeatures'>
|
||||
* @api
|
||||
*
|
||||
* @fires DragAndDropEvent
|
||||
|
||||
@@ -103,7 +103,6 @@ export class DragBoxEvent extends Event {
|
||||
* {@link module:ol/interaction/DragRotateAndZoom}).
|
||||
*
|
||||
* @fires DragBoxEvent
|
||||
* @extends PointerInteraction<'boxcancel'|'boxdrag'|'boxend'>
|
||||
* @api
|
||||
*/
|
||||
class DragBox extends PointerInteraction {
|
||||
|
||||
@@ -177,7 +177,6 @@ export class DrawEvent extends Event {
|
||||
* Interaction for drawing feature geometries.
|
||||
*
|
||||
* @fires DrawEvent
|
||||
* @extends PointerInteraction<'drawabort'|'drawend'|'drawstart'>
|
||||
* @api
|
||||
*/
|
||||
class Draw extends PointerInteraction {
|
||||
|
||||
@@ -81,7 +81,6 @@ export class ExtentEvent extends Event {
|
||||
* This interaction is only supported for mouse devices.
|
||||
*
|
||||
* @fires ExtentEvent
|
||||
* @extends PointerInteraction<'extentchanged'>
|
||||
* @api
|
||||
*/
|
||||
class Extent extends PointerInteraction {
|
||||
|
||||
@@ -27,9 +27,6 @@ import {easeOut, linear} from '../easing.js';
|
||||
* by a keyboard event not a button element event.
|
||||
* Although interactions do not have a DOM element, some of them do render
|
||||
* vectors and so are visible on the screen.
|
||||
*
|
||||
* @template {string} EventTypes
|
||||
* @extends BaseObject<EventTypes|'change:active'>
|
||||
* @api
|
||||
*/
|
||||
class Interaction extends BaseObject {
|
||||
|
||||
@@ -183,7 +183,6 @@ export class ModifyEvent extends Event {
|
||||
* key is pressed. To configure the interaction with a different condition
|
||||
* for deletion, use the `deleteCondition` option.
|
||||
* @fires ModifyEvent
|
||||
* @extends PointerInteraction<'modifyend'|'modifystart'>
|
||||
* @api
|
||||
*/
|
||||
class Modify extends PointerInteraction {
|
||||
|
||||
@@ -41,9 +41,6 @@ import {getValues} from '../obj.js';
|
||||
* started. During a drag sequence the `handleDragEvent` user function is
|
||||
* called on `move` events. The drag sequence ends when the `handleUpEvent`
|
||||
* user function is called and returns `false`.
|
||||
*
|
||||
* @template {string} EventTypes
|
||||
* @extends Interaction<EventTypes>
|
||||
* @api
|
||||
*/
|
||||
class PointerInteraction extends Interaction {
|
||||
|
||||
@@ -147,7 +147,6 @@ const originalFeatureStyles = {};
|
||||
* Selected features are added to an internal unmanaged layer.
|
||||
*
|
||||
* @fires SelectEvent
|
||||
* @extends Interaction<'select'>
|
||||
* @api
|
||||
*/
|
||||
class Select extends Interaction {
|
||||
|
||||
@@ -115,7 +115,6 @@ export class TranslateEvent extends Event {
|
||||
* Interaction for translating (moving) features.
|
||||
*
|
||||
* @fires TranslateEvent
|
||||
* @extends PointerInteraction<'translateend'|'translatestart'|'translating'>
|
||||
* @api
|
||||
*/
|
||||
class Translate extends PointerInteraction {
|
||||
|
||||
Reference in New Issue
Block a user