mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
Fixed spelling of isStoppable
This commit is contained in:
parent
6761bd9375
commit
ecfe380b17
@ -1193,7 +1193,7 @@
|
|||||||
* the emulated event, a synthetic event object created with values from the actual DOM event,
|
* the emulated event, a synthetic event object created with values from the actual DOM event,
|
||||||
* or null if no DOM event applies. Emulated events can occur on eventType "wheel" on legacy mouse-scroll
|
* or null if no DOM event applies. Emulated events can occur on eventType "wheel" on legacy mouse-scroll
|
||||||
* event emitting user agents.
|
* event emitting user agents.
|
||||||
* @property {Boolean} isStopable
|
* @property {Boolean} isStoppable
|
||||||
* True if propagation of the event (e.g. bubbling) can be stopped with stopPropagation/stopImmediatePropagation.
|
* True if propagation of the event (e.g. bubbling) can be stopped with stopPropagation/stopImmediatePropagation.
|
||||||
* @property {Boolean} isCancelable
|
* @property {Boolean} isCancelable
|
||||||
* True if the event's default handling by the browser can be prevented with preventDefault.
|
* True if the event's default handling by the browser can be prevented with preventDefault.
|
||||||
@ -2840,7 +2840,7 @@
|
|||||||
function getEventProcessDefaults( tracker, eventInfo ) {
|
function getEventProcessDefaults( tracker, eventInfo ) {
|
||||||
switch ( eventInfo.eventType ) {
|
switch ( eventInfo.eventType ) {
|
||||||
case 'pointermove':
|
case 'pointermove':
|
||||||
eventInfo.isStopable = true;
|
eventInfo.isStoppable = true;
|
||||||
eventInfo.isCancelable = true;
|
eventInfo.isCancelable = true;
|
||||||
eventInfo.preventDefault = false;
|
eventInfo.preventDefault = false;
|
||||||
eventInfo.preventGesture = !tracker.hasGestureHandlers;
|
eventInfo.preventGesture = !tracker.hasGestureHandlers;
|
||||||
@ -2852,28 +2852,28 @@
|
|||||||
case 'keydown':
|
case 'keydown':
|
||||||
case 'keyup':
|
case 'keyup':
|
||||||
case 'keypress':
|
case 'keypress':
|
||||||
eventInfo.isStopable = true;
|
eventInfo.isStoppable = true;
|
||||||
eventInfo.isCancelable = true;
|
eventInfo.isCancelable = true;
|
||||||
eventInfo.preventDefault = false; // onContextMenu(), onKeyDown(), onKeyUp(), onKeyPress() may set true
|
eventInfo.preventDefault = false; // onContextMenu(), onKeyDown(), onKeyUp(), onKeyPress() may set true
|
||||||
eventInfo.preventGesture = false;
|
eventInfo.preventGesture = false;
|
||||||
eventInfo.stopPropagation = false;
|
eventInfo.stopPropagation = false;
|
||||||
break;
|
break;
|
||||||
case 'pointerdown':
|
case 'pointerdown':
|
||||||
eventInfo.isStopable = true;
|
eventInfo.isStoppable = true;
|
||||||
eventInfo.isCancelable = true;
|
eventInfo.isCancelable = true;
|
||||||
eventInfo.preventDefault = false; // updatePointerDown() may set true (tracker.hasGestureHandlers)
|
eventInfo.preventDefault = false; // updatePointerDown() may set true (tracker.hasGestureHandlers)
|
||||||
eventInfo.preventGesture = !tracker.hasGestureHandlers;
|
eventInfo.preventGesture = !tracker.hasGestureHandlers;
|
||||||
eventInfo.stopPropagation = false;
|
eventInfo.stopPropagation = false;
|
||||||
break;
|
break;
|
||||||
case 'pointerup':
|
case 'pointerup':
|
||||||
eventInfo.isStopable = true;
|
eventInfo.isStoppable = true;
|
||||||
eventInfo.isCancelable = true;
|
eventInfo.isCancelable = true;
|
||||||
eventInfo.preventDefault = false;
|
eventInfo.preventDefault = false;
|
||||||
eventInfo.preventGesture = !tracker.hasGestureHandlers;
|
eventInfo.preventGesture = !tracker.hasGestureHandlers;
|
||||||
eventInfo.stopPropagation = false;
|
eventInfo.stopPropagation = false;
|
||||||
break;
|
break;
|
||||||
case 'wheel':
|
case 'wheel':
|
||||||
eventInfo.isStopable = true;
|
eventInfo.isStoppable = true;
|
||||||
eventInfo.isCancelable = true;
|
eventInfo.isCancelable = true;
|
||||||
eventInfo.preventDefault = false; // handleWheelEvent() may set true
|
eventInfo.preventDefault = false; // handleWheelEvent() may set true
|
||||||
eventInfo.preventGesture = !tracker.hasScrollHandler;
|
eventInfo.preventGesture = !tracker.hasScrollHandler;
|
||||||
@ -2882,21 +2882,21 @@
|
|||||||
case 'gotpointercapture':
|
case 'gotpointercapture':
|
||||||
case 'lostpointercapture':
|
case 'lostpointercapture':
|
||||||
case 'pointercancel':
|
case 'pointercancel':
|
||||||
eventInfo.isStopable = true;
|
eventInfo.isStoppable = true;
|
||||||
eventInfo.isCancelable = false;
|
eventInfo.isCancelable = false;
|
||||||
eventInfo.preventDefault = false;
|
eventInfo.preventDefault = false;
|
||||||
eventInfo.preventGesture = false;
|
eventInfo.preventGesture = false;
|
||||||
eventInfo.stopPropagation = false;
|
eventInfo.stopPropagation = false;
|
||||||
break;
|
break;
|
||||||
case 'click':
|
case 'click':
|
||||||
eventInfo.isStopable = true;
|
eventInfo.isStoppable = true;
|
||||||
eventInfo.isCancelable = true;
|
eventInfo.isCancelable = true;
|
||||||
eventInfo.preventDefault = !!tracker.clickHandler;
|
eventInfo.preventDefault = !!tracker.clickHandler;
|
||||||
eventInfo.preventGesture = false;
|
eventInfo.preventGesture = false;
|
||||||
eventInfo.stopPropagation = false;
|
eventInfo.stopPropagation = false;
|
||||||
break;
|
break;
|
||||||
case 'dblclick':
|
case 'dblclick':
|
||||||
eventInfo.isStopable = true;
|
eventInfo.isStoppable = true;
|
||||||
eventInfo.isCancelable = true;
|
eventInfo.isCancelable = true;
|
||||||
eventInfo.preventDefault = !!tracker.dblClickHandler;
|
eventInfo.preventDefault = !!tracker.dblClickHandler;
|
||||||
eventInfo.preventGesture = false;
|
eventInfo.preventGesture = false;
|
||||||
@ -2907,7 +2907,7 @@
|
|||||||
case 'pointerenter':
|
case 'pointerenter':
|
||||||
case 'pointerleave':
|
case 'pointerleave':
|
||||||
default:
|
default:
|
||||||
eventInfo.isStopable = false;
|
eventInfo.isStoppable = false;
|
||||||
eventInfo.isCancelable = false;
|
eventInfo.isCancelable = false;
|
||||||
eventInfo.preventDefault = false;
|
eventInfo.preventDefault = false;
|
||||||
eventInfo.preventGesture = false;
|
eventInfo.preventGesture = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user