@interactjs/pointer-events
Advanced tools
Comparing version 1.4.0-rc.11 to 1.4.0-rc.12
@@ -49,7 +49,7 @@ import * as utils from '@interactjs/utils'; | ||
const origin = utils.getOriginXY(target.eventable, target.element); | ||
pointerEvent.subtractOrigin(origin); | ||
pointerEvent._subtractOrigin(origin); | ||
pointerEvent.eventable = target.eventable; | ||
pointerEvent.currentTarget = target.element; | ||
target.eventable.fire(pointerEvent); | ||
pointerEvent.addOrigin(origin); | ||
pointerEvent._addOrigin(origin); | ||
if (pointerEvent.immediatePropagationStopped || | ||
@@ -197,2 +197,2 @@ (pointerEvent.propagationStopped && | ||
export default pointerEvents; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsT0FBTyxLQUFLLEtBQUssTUFBTSxtQkFBbUIsQ0FBQTtBQUMxQyxPQUFPLFlBQVksTUFBTSxnQkFBZ0IsQ0FBQTtBQTRDekMsTUFBTSxPQUFPLEdBQVMsSUFBSSxLQUFLLENBQUMsT0FBTyxFQUFFLENBQUE7QUFDekMsTUFBTSxhQUFhLEdBQUcsQ0FBRSxNQUFNLEVBQUUsSUFBSSxFQUFFLFFBQVEsQ0FBRSxDQUFBO0FBQ2hELE1BQU0sWUFBWSxHQUFJLENBQUUsTUFBTSxFQUFFLElBQUksRUFBRSxRQUFRLENBQUUsQ0FBQTtBQUVoRCxNQUFNLFFBQVEsR0FBd0I7SUFDcEMsWUFBWSxFQUFFLEdBQUc7SUFDakIsVUFBVSxFQUFJLElBQUk7SUFDbEIsU0FBUyxFQUFLLElBQUk7SUFDbEIsTUFBTSxFQUFRLEVBQUUsQ0FBQyxFQUFFLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQyxFQUFFO0NBQzdCLENBQUE7QUFFRCxNQUFNLGFBQWEsR0FBRztJ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cmdldCB9KSA9PiB7XG4gICAgaWYgKCFpbnRlcmFjdGlvbi5wb2ludGVyV2FzTW92ZWQpIHtcbiAgICAgIGZpcmUoeyBpbnRlcmFjdGlvbiwgZXZlbnRUYXJnZXQsIHBvaW50ZXIsIGV2ZW50LCB0eXBlOiAndGFwJyB9LCBzY29wZSlcbiAgICB9XG4gIH0pXG59XG5cbmZ1bmN0aW9uIGNyZWF0ZVNpZ25hbExpc3RlbmVyICh0eXBlOiBzdHJpbmcsIHNjb3BlKSB7XG4gIHJldHVybiBmdW5jdGlvbiAoeyBpbnRlcmFjdGlvbiwgcG9pbnRlciwgZXZlbnQsIGV2ZW50VGFyZ2V0IH06IGFueSkge1xuICAgIGZpcmUoeyBpbnRlcmFjdGlvbiwgZXZlbnRUYXJnZXQsIHBvaW50ZXIsIGV2ZW50LCB0eXBlIH0sIHNjb3BlKVxuICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IHBvaW50ZXJFdmVudHNcbiJdfQ== |
{ | ||
"name": "@interactjs/pointer-events", | ||
"version": "1.4.0-rc.11", | ||
"version": "1.4.0-rc.12", | ||
"peerDependencies": { | ||
"@interactjs/core": "1.4.0-rc.11", | ||
"@interactjs/utils": "1.4.0-rc.11" | ||
"@interactjs/core": "1.4.0-rc.12", | ||
"@interactjs/utils": "1.4.0-rc.12" | ||
}, | ||
@@ -8,0 +8,0 @@ "publishConfig": { |
@@ -1,12 +0,8 @@ | ||
import Interaction from '@interactjs/core/Interaction'; | ||
import BaseEvent from '@interactjs/core/BaseEvent'; | ||
/** */ | ||
export default class PointerEvent<T extends string> { | ||
interaction: Interaction; | ||
timeStamp: number; | ||
export default class PointerEvent<T extends string> extends BaseEvent { | ||
type: T; | ||
originalEvent: Interact.PointerEventType; | ||
type: T; | ||
pointerId: number; | ||
pointerType: string; | ||
target: Node | Window; | ||
currentTarget: Node | Window; | ||
double: boolean; | ||
@@ -19,11 +15,9 @@ pageX: number; | ||
eventable: any; | ||
propagationStopped: boolean; | ||
immediatePropagationStopped: boolean; | ||
/** */ | ||
constructor(type: T, pointer: Interact.PointerType | PointerEvent<any>, event: Interact.PointerEventType, eventTarget: Interact.EventTarget, interaction: Interact.Interaction, timeStamp: number); | ||
subtractOrigin({ x: originX, y: originY }: { | ||
_subtractOrigin({ x: originX, y: originY }: { | ||
x: any; | ||
y: any; | ||
}): this; | ||
addOrigin({ x: originX, y: originY }: { | ||
_addOrigin({ x: originX, y: originY }: { | ||
x: any; | ||
@@ -36,10 +30,2 @@ y: any; | ||
preventDefault(): void; | ||
/** | ||
* Don't call listeners on the remaining targets | ||
*/ | ||
stopPropagation(): void; | ||
/** | ||
* Don't call any other listeners (even on the current target) | ||
*/ | ||
stopImmediatePropagation(): void; | ||
} |
@@ -0,8 +1,8 @@ | ||
import BaseEvent from '@interactjs/core/BaseEvent'; | ||
import pointerUtils from '@interactjs/utils/pointerUtils'; | ||
/** */ | ||
export default class PointerEvent { | ||
export default class PointerEvent extends BaseEvent { | ||
/** */ | ||
constructor(type, pointer, event, eventTarget, interaction, timeStamp) { | ||
this.propagationStopped = false; | ||
this.immediatePropagationStopped = false; | ||
super(interaction); | ||
pointerUtils.pointerExtend(this, event); | ||
@@ -12,3 +12,2 @@ if (event !== pointer) { | ||
} | ||
this.interaction = interaction; | ||
this.timeStamp = timeStamp; | ||
@@ -34,3 +33,3 @@ this.originalEvent = event; | ||
} | ||
subtractOrigin({ x: originX, y: originY }) { | ||
_subtractOrigin({ x: originX, y: originY }) { | ||
this.pageX -= originX; | ||
@@ -42,3 +41,3 @@ this.pageY -= originY; | ||
} | ||
addOrigin({ x: originX, y: originY }) { | ||
_addOrigin({ x: originX, y: originY }) { | ||
this.pageX += originX; | ||
@@ -56,15 +55,3 @@ this.pageY += originY; | ||
} | ||
/** | ||
* Don't call listeners on the remaining targets | ||
*/ | ||
stopPropagation() { | ||
this.propagationStopped = true; | ||
} | ||
/** | ||
* Don't call any other listeners (even on the current target) | ||
*/ | ||
stopImmediatePropagation() { | ||
this.immediat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2luYWxFdmVudC5wcmV2ZW50RGVmYXVsdCgpXG4gIH1cbn1cbiJdfQ== |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55631
503