svelte-magic-scroller
Version:
[](https://www.npmjs.com/package/svelte-magic-scroller) [](https://www.npmjs.com/package/svelte-magic-scrolle
34 lines (33 loc) • 922 B
TypeScript
export default MagicScrollbarTrack;
type MagicScrollbarTrack = {
$on?(type: string, callback: (e: any) => void): () => void;
$set?(props: Partial<$$ComponentProps>): void;
};
declare const MagicScrollbarTrack: import("svelte").Component<{
component: any;
height?: number;
maxThumbTravel?: number;
minThumbTravel?: number;
thumbHeight?: number;
thumbPosition?: number;
trackHeight?: number;
width?: number;
children: any;
goto: any;
offset: any;
size: any;
}, {}, "width" | "height" | "maxThumbTravel" | "minThumbTravel" | "thumbHeight" | "thumbPosition" | "trackHeight">;
type $$ComponentProps = {
component: any;
height?: number;
maxThumbTravel?: number;
minThumbTravel?: number;
thumbHeight?: number;
thumbPosition?: number;
trackHeight?: number;
width?: number;
children: any;
goto: any;
offset: any;
size: any;
};