source: imaps-frontend/node_modules/@use-gesture/react/dist/declarations/src/useWheel.d.ts

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: 574 bytes
RevLine 
[d565449]1import { UserWheelConfig, Handler, EventTypes } from '@use-gesture/core/types';
2/**
3 * Wheel hook.
4 *
5 * @param {Handler<'wheel'>} handler - the function fired every time the wheel gesture updates
6 * @param {UserWheelConfig} config - the config object including generic options and wheel options
7 */
8export declare function useWheel<EventType = EventTypes['wheel'], Config extends UserWheelConfig = UserWheelConfig>(handler: Handler<'wheel', EventType>, config?: Config): Config["target"] extends object ? void : (...args: any[]) => import("./types.js").ReactDOMAttributes;
Note: See TracBrowser for help on using the repository browser.