mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
15 lines
522 B
TypeScript
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
|