✨ Add swipe gesture on photo Viewer
This commit is contained in:
10
src/global.d.ts
vendored
10
src/global.d.ts
vendored
@@ -1 +1,11 @@
|
||||
/// <reference types="@sveltejs/kit" />
|
||||
|
||||
/**
|
||||
* Custom Events
|
||||
*/
|
||||
// Swipe
|
||||
declare namespace svelte.JSX {
|
||||
interface HTMLAttributes<T> {
|
||||
onswipe?: (event: CustomEvent<string> & { target: EventTarget & T }) => any
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user