API doc strings for preventDefault and stopPropagation

thanks @elemoine
This commit is contained in:
Frederic Junod
2013-06-18 15:01:59 +02:00
parent bed44dd82c
commit fd5f4f3dd8

View File

@@ -104,6 +104,8 @@ ol.MapBrowserEvent.prototype.isMouseActionButton = function() {
/**
* Prevents the default browser action.
* @see https://developer.mozilla.org/en-US/docs/Web/API/event.preventDefault
* @override
*/
ol.MapBrowserEvent.prototype.preventDefault = function() {
@@ -121,6 +123,8 @@ ol.MapBrowserEvent.prototype.stopOtherInteractions = function() {
/**
* Prevents further propagation of the current event.
* @see https://developer.mozilla.org/en-US/docs/Web/API/event.stopPropagation
* @override
*/
ol.MapBrowserEvent.prototype.stopPropagation = function() {