update nd docs for Openlayers.Events
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3621 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -379,7 +379,7 @@ OpenLayers.Events.prototype = {
|
||||
eventHandler: null,
|
||||
|
||||
/**
|
||||
* Property: fallThrough
|
||||
* APIProperty: fallThrough
|
||||
* {Boolean}
|
||||
*/
|
||||
fallThrough: null,
|
||||
@@ -422,7 +422,7 @@ OpenLayers.Events.prototype = {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: destroy
|
||||
* APIMethod: destroy
|
||||
*/
|
||||
destroy: function () {
|
||||
if (this.element) {
|
||||
@@ -461,7 +461,7 @@ OpenLayers.Events.prototype = {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: register
|
||||
* APIMethod: register
|
||||
* Register an event on the events object.
|
||||
*
|
||||
* When the event is triggered, the 'func' function will be called, in the
|
||||
@@ -501,10 +501,13 @@ OpenLayers.Events.prototype = {
|
||||
},
|
||||
|
||||
/**
|
||||
* APIMethod: registerPriority
|
||||
* Same as register() but adds the new listener to the *front* of the
|
||||
* events queue instead of to the end.
|
||||
*
|
||||
* TODO: get rid of this in 3.0 - Decide whether listeners should be
|
||||
* called in the order they were registered or in reverse order.
|
||||
*
|
||||
* Method: registerPriority
|
||||
*
|
||||
* Parameters:
|
||||
* type - {String} Name of the event to register
|
||||
@@ -528,7 +531,7 @@ OpenLayers.Events.prototype = {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: unregister
|
||||
* APIMethod: unregister
|
||||
*
|
||||
* Parameters:
|
||||
* type - {String}
|
||||
@@ -565,7 +568,7 @@ OpenLayers.Events.prototype = {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: triggerEvent
|
||||
* APIMethod: triggerEvent
|
||||
* Trigger a specified registered event
|
||||
*
|
||||
* Parameters:
|
||||
|
||||
Reference in New Issue
Block a user