Files
v10/dist/dev/dom/ui/wheel-step.d.ts

15 lines
522 B
TypeScript

import { UIWheelEvent } from "./event.js";
//#region src/dom/ui/wheel-step.d.ts
interface WheelStepOptions {
isDisabled: () => boolean;
getPercent: () => number;
getStepPercent: () => number;
onValueChange?: ((percent: number) => void) | undefined;
}
interface WheelStepProps {
onWheel: (event: UIWheelEvent) => void;
}
declare function createWheelStep(options: WheelStepOptions): WheelStepProps;
//#endregion
export { WheelStepOptions, WheelStepProps, createWheelStep };
//# sourceMappingURL=wheel-step.d.ts.map