Add and fix API docs for ol.events.Event stack

This commit is contained in:
Andreas Hocevar
2016-03-10 17:35:55 +01:00
parent fb6cd4f586
commit 7c5e1b808d
3 changed files with 57 additions and 33 deletions
+27 -10
View File
@@ -9,6 +9,33 @@
var oli;
/**
* @interface
*/
oli.events.Event = function() {};
/**
* @type {Object}
*/
oli.events.Event.prototype.target;
/**
* @type {string}
*/
oli.events.Event.prototype.type;
/**
*/
oli.events.Event.prototype.preventDefault = function() {};
/**
*/
oli.events.Event.prototype.stopPropagation = function() {};
/**
* @interface
@@ -22,7 +49,6 @@ oli.CollectionEvent = function() {};
oli.CollectionEvent.prototype.element;
/**
* @interface
*/
@@ -41,7 +67,6 @@ oli.DragBoxEvent.prototype.coordinate;
oli.DragBoxEvent.prototype.mapBrowserEvent;
/**
* @interface
*/
@@ -54,7 +79,6 @@ oli.DrawEvent = function() {};
oli.DrawEvent.prototype.feature;
/**
* @interface
*/
@@ -73,7 +97,6 @@ oli.ModifyEvent.prototype.features;
oli.ModifyEvent.prototype.mapBrowserPointerEvent;
/**
* @interface
*/
@@ -92,7 +115,6 @@ oli.ObjectEvent.prototype.key;
oli.ObjectEvent.prototype.oldValue;
/**
* @interface
*/
@@ -123,7 +145,6 @@ oli.MapBrowserEvent.prototype.pixel;
oli.MapBrowserEvent.prototype.dragging;
/**
* @interface
*/
@@ -166,7 +187,6 @@ oli.SelectEvent.prototype.selected;
oli.SelectEvent.prototype.mapBrowserEvent;
/**
* @type {Object}
*/
@@ -186,7 +206,6 @@ oli.control.Control = function() {};
oli.control.Control.prototype.setMap = function(map) {};
/**
* @type {Object}
*/
@@ -217,7 +236,6 @@ oli.interaction.DragAndDropEvent.prototype.projection;
oli.interaction.DragAndDropEvent.prototype.file;
/**
* @interface
*/
@@ -242,7 +260,6 @@ oli.interaction.TranslateEvent.prototype.coordinate;
oli.render;
/**
* @interface
*/