adding types to properties from the mousing improvements patch. No functional change, only documentation. (See #1509)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@7612 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2008-07-30 18:40:23 +00:00
parent 5ac8bd6a89
commit eb417ff61c
3 changed files with 11 additions and 10 deletions

View File

@@ -69,17 +69,18 @@ OpenLayers.Handler.Drag = OpenLayers.Class(OpenLayers.Handler, {
/**
* Property: interval
* In order to increase performance, an interval (in milliseconds)
* can be set to reduce the number of drag events called. If set,
* a new drag event will not be set until the interval has passed.
* Defaults to 0, meaning no interval.
* {Integer} In order to increase performance, an interval (in
* milliseconds) can be set to reduce the number of drag events
* called. If set, a new drag event will not be set until the
* interval has passed.
* Defaults to 0, meaning no interval.
*/
interval: 0,
/**
* Property: timeoutId
* The id of the timeout used for the mousedown interval.
* This is "private", and should be left alone.
* {String} The id of the timeout used for the mousedown interval.
* This is "private", and should be left alone.
*/
timeoutId: null,