pub fn use_swipe_with_window<'hook>( ) -> impl 'hook + Hook<Output = UseSwipeHandle>
A sensor hook that detects swipe based on TouchEvent for window. See use_swipe.
use_swipe
When used in function components and hooks, this hook is equivalent to:
pub fn use_swipe_with_window() -> UseSwipeHandle { /* implementation omitted */ }