You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
407 B
10 lines
407 B
import type { ComputedRef, InjectionKey, Ref, ToRefs } from 'vue';
|
|
import type { SliderProps } from './slider';
|
|
export interface SliderContext extends ToRefs<SliderProps> {
|
|
precision: ComputedRef<number>;
|
|
sliderSize: Ref<number>;
|
|
emitChange: () => void;
|
|
resetSize: () => void;
|
|
updateDragging: (val: boolean) => void;
|
|
}
|
|
export declare const sliderContextKey: InjectionKey<SliderContext>;
|
|
|