UNPKG

@aplus-frontend/antdv

Version:

Vue basic component library maintained based on ant-design-vue

27 lines (26 loc) 1.24 kB
export declare function isEventFromHandle(e: { target: HTMLElement; }, handles: any): boolean; export declare function isValueOutOfRange(value: number, { min, max }: { min?: number; max?: number; }): boolean; export declare function isNotTouchEvent(e: TouchEvent): boolean; export declare function getClosestPoint(val: number, { marks, step, min, max }: { marks: any; step: any; min: any; max: any; }): number; export declare function getPrecision(step: number): number; export declare function getMousePosition(vertical: boolean, e: MouseEvent): number; export declare function getTouchPosition(vertical: boolean, e: TouchEvent): number; export declare function getHandleCenterPosition(vertical: boolean, handle: HTMLElement): number; export declare function ensureValueInRange(val: number, { max, min }: { max?: number; min?: number; }): number; export declare function ensureValuePrecision(val: number, props: any): number; export declare function pauseEvent(e: Event): void; export declare function calculateNextValue(func: any, value: any, props: any): any; export declare function getKeyboardValueMutator(e: KeyboardEvent, vertical: boolean, reverse: boolean): (_value: any, props: any) => any;