Merge pull request #2450 from probins/events

Improve and standardise event docs
This commit is contained in:
Éric Lemoine
2014-08-18 17:35:59 +02:00
10 changed files with 41 additions and 3 deletions
@@ -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}
+2 -1
View File
@@ -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.
+4
View File
@@ -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}