API doc strings for preventDefault and stopPropagation
thanks @elemoine
This commit is contained in:
@@ -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
|
* @override
|
||||||
*/
|
*/
|
||||||
ol.MapBrowserEvent.prototype.preventDefault = function() {
|
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
|
* @override
|
||||||
*/
|
*/
|
||||||
ol.MapBrowserEvent.prototype.stopPropagation = function() {
|
ol.MapBrowserEvent.prototype.stopPropagation = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user