Merge pull request #2450 from probins/events
Improve and standardise event docs
This commit is contained in:
@@ -192,6 +192,10 @@ ol.interaction.DragAndDropEventType = {
|
||||
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* Events emitted by {@link ol.interaction.DragAndDrop} instances are instances
|
||||
* of this type.
|
||||
*
|
||||
* @constructor
|
||||
* @extends {goog.events.Event}
|
||||
* @implements {oli.interaction.DragAndDropEvent}
|
||||
|
||||
@@ -42,7 +42,8 @@ ol.DragBoxEventType = {
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* Object representing a dragbox event.
|
||||
* Events emitted by {@link ol.interaction.DragBox} instances are instances of
|
||||
* this type.
|
||||
*
|
||||
* @param {string} type The event type.
|
||||
* @param {ol.Coordinate} coordinate The event coordinate.
|
||||
|
||||
@@ -44,6 +44,10 @@ ol.DrawEventType = {
|
||||
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* Events emitted by {@link ol.interaction.Draw} instances are instances of
|
||||
* this type.
|
||||
*
|
||||
* @constructor
|
||||
* @extends {goog.events.Event}
|
||||
* @implements {oli.DrawEvent}
|
||||
|
||||
Reference in New Issue
Block a user