eslink-ui-plus
Version:
vue3 component library, css framework
66 lines (65 loc) • 1.77 kB
TypeScript
import { ComputedRef } from "vue";
import { BarMapItem } from "./scroll-interface";
declare const _default: import("vue").DefineComponent<{
parentRef: {
required: true;
};
direction: {
type: StringConstructor;
default: string;
};
size: {
type: StringConstructor;
default: string;
};
move: {
type: StringConstructor;
default: string;
};
trigger: {
type: StringConstructor;
default: string;
};
trackStyle: {
type: ObjectConstructor;
default: () => unknown;
};
thumbStyle: {
type: ObjectConstructor;
default: () => unknown;
};
}, {
trackRef: import("vue").Ref<any>;
thumbRef: import("vue").Ref<any>;
bar: ComputedRef<BarMapItem>;
thumbStyleObj: ComputedRef<{
[x: string]: any;
transform: string;
}>;
handleBarMouseDown: (e: MouseEvent) => void;
handleThumbMouseDown: (e: Event) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
parentRef?: unknown;
direction?: unknown;
size?: unknown;
move?: unknown;
trigger?: unknown;
trackStyle?: unknown;
thumbStyle?: unknown;
} & {
size: string;
parentRef: unknown;
direction: string;
move: string;
trigger: string;
trackStyle: Record<string, any>;
thumbStyle: Record<string, any>;
} & {}>, {
size: string;
direction: string;
move: string;
trigger: string;
trackStyle: Record<string, any>;
thumbStyle: Record<string, any>;
}>;
export default _default;