UNPKG

@arco-design/web-vue

Version:

Arco Design Vue 2.0: A Vue.js 3 UI Library

12 lines (11 loc) 482 B
interface ControlBlockParams { value: [number, number]; onChange: (value: [number, number]) => void; } export declare const useControlBlock: ({ value, onChange }: ControlBlockParams) => { active: import("vue").Ref<boolean, boolean>; blockRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>; handlerRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>; onMouseDown: (ev: MouseEvent) => void; }; export {};