react-konva
Advanced tools
Comparing version 18.2.3 to 18.2.4
@@ -52,3 +52,3 @@ import { Konva } from 'konva/lib/Global'; | ||
var propChanged = oldProps[key] !== props[key]; | ||
// if that is a changed event, we need to remvoe it | ||
// if that is a changed event, we need to remove it | ||
if (isEvent && propChanged) { | ||
@@ -55,0 +55,0 @@ var eventName = key.substr(2).toLowerCase(); |
@@ -29,2 +29,14 @@ // special file for minimal import | ||
onContextMenu?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerDown?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerMove?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerUp?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerCancel?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerEnter?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerLeave?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerOver?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerOut?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerClick?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerDblClick?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onGotPointerCapture?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onLostPointerCapture?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
} | ||
@@ -31,0 +43,0 @@ |
@@ -56,3 +56,3 @@ "use strict"; | ||
var propChanged = oldProps[key] !== props[key]; | ||
// if that is a changed event, we need to remvoe it | ||
// if that is a changed event, we need to remove it | ||
if (isEvent && propChanged) { | ||
@@ -59,0 +59,0 @@ var eventName = key.substr(2).toLowerCase(); |
@@ -29,2 +29,14 @@ // special file for minimal import | ||
onContextMenu?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerDown?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerMove?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerUp?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerCancel?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerEnter?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerLeave?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerOver?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerOut?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerClick?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerDblClick?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onGotPointerCapture?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onLostPointerCapture?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
} | ||
@@ -31,0 +43,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "React binding to canvas element via Konva framework", | ||
"version": "18.2.3", | ||
"version": "18.2.4", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "react", |
@@ -29,2 +29,14 @@ // special file for minimal import | ||
onContextMenu?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerDown?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerMove?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerUp?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerCancel?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerEnter?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerLeave?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerOver?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerOut?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerClick?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onPointerDblClick?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onGotPointerCapture?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
onLostPointerCapture?(evt: Konva.KonvaEventObject<PointerEvent>): void; | ||
} | ||
@@ -31,0 +43,0 @@ |
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
60812
1168