pub fn use_swipe_with_window<'hook>(
) -> impl 'hook + Hook<Output = UseSwipeHandle>
Expand description

A sensor hook that detects swipe based on TouchEvent for window. See use_swipe.

§Note

When used in function components and hooks, this hook is equivalent to:

pub fn use_swipe_with_window() -> UseSwipeHandle {
    /* implementation omitted */
}