Skip to content

Commit 620a949

Browse files
authored
feat(useSwipe)!: remove isPassiveEventSupported (#4886)
1 parent 573bfb0 commit 620a949

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

packages/core/useSwipe/index.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ export interface UseSwipeOptions extends ConfigurableWindow {
3636
}
3737

3838
export interface UseSwipeReturn {
39-
/**
40-
* @deprecated No longer need this Vue 3's browser targets all supporting passive event listeners.
41-
*
42-
* This flag will always return `true` and be removed in the next major version.
43-
*/
44-
isPassiveEventSupported: boolean
4539
isSwiping: ShallowRef<boolean>
4640
direction: ComputedRef<UseSwipeDirection>
4741
coordsStart: Readonly<Position>
@@ -154,8 +148,5 @@ export function useSwipe(
154148
lengthX: diffX,
155149
lengthY: diffY,
156150
stop,
157-
158-
// TODO: Remove in the next major version
159-
isPassiveEventSupported: true,
160151
}
161152
}

0 commit comments

Comments
 (0)