svelte-gestures
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -11,4 +11,6 @@ import { PanPointerEventDetail } from './src/pan'; | ||
declare namespace svelteHTML { | ||
interface HTMLAttributes { | ||
'on:pan'?: (event: CustomEvent<PanPointerEventDetail>) => void; | ||
interface HTMLAttributes<T> { | ||
'on:pan'?: ( | ||
event: CustomEvent<{ x: number; y: number; target: EventTarget & T }> | ||
) => void; | ||
'on:panup'?: (event: CustomEvent<GestureCustomEvent>) => void; | ||
@@ -41,3 +43,5 @@ 'on:pandown'?: (event: CustomEvent<GestureCustomEvent>) => void; | ||
'on:shapeGesturemove'?: (event: CustomEvent<GestureCustomEvent>) => void; | ||
onpan?: (event: CustomEvent<PanPointerEventDetail>) => void; | ||
onpan?: ( | ||
event: CustomEvent<{ x: number; y: number; target: EventTarget & T }> | ||
) => void; | ||
onpanup?: (event: CustomEvent<GestureCustomEvent>) => void; | ||
@@ -44,0 +48,0 @@ onpandown?: (event: CustomEvent<GestureCustomEvent>) => void; |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"main": "dist/index.js", | ||
@@ -9,0 +9,0 @@ "module": "dist/index.esm.js", |
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
96551
1925