Send tap event if swipe is not detected
This commit is contained in:
3
src/global.d.ts
vendored
3
src/global.d.ts
vendored
@@ -6,6 +6,7 @@
|
||||
// Swipe
|
||||
declare namespace svelte.JSX {
|
||||
interface HTMLAttributes<T> {
|
||||
onswipe?: (event: CustomEvent<string> & { target: EventTarget & T }) => any
|
||||
onswipe?: (event: CustomEvent<string> & { target: EventTarget & T }) => any,
|
||||
ontap?: (event: CustomEvent<boolean> & { target: EventTarget & T }) => any,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user