main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
677 bytes
|
Line | |
---|
1 | import { GestureHandlers, UserGestureConfig, EventTypes, AnyHandlerEventTypes } from '@use-gesture/core/types';
|
---|
2 | /**
|
---|
3 | * @public
|
---|
4 | *
|
---|
5 | * The most complete gesture hook, allowing support for multiple gestures.
|
---|
6 | *
|
---|
7 | * @param {GestureHandlers} handlers - an object with on[Gesture] keys containg gesture handlers
|
---|
8 | * @param {UserGestureConfig} config - the full config object
|
---|
9 | */
|
---|
10 | export declare function useGesture<HandlerTypes extends AnyHandlerEventTypes = EventTypes, Config extends UserGestureConfig = UserGestureConfig>(handlers: GestureHandlers<HandlerTypes>, config?: Config): Config["target"] extends object ? void : (...args: any[]) => import("./types.js").ReactDOMAttributes;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.