UNPKG

svelte-magic-scroller

Version:

[![NPM Version](https://img.shields.io/npm/v/svelte-magic-scroller?style=flat)](https://www.npmjs.com/package/svelte-magic-scroller) [![NPM Downloads](https://img.shields.io/npm/dm/svelte-magic-scroller)](https://www.npmjs.com/package/svelte-magic-scrolle

36 lines (35 loc) 1.03 kB
export default MagicScrollbarThumb; type MagicScrollbarThumb = { $on?(type: string, callback: (e: any) => void): () => void; $set?(props: Partial<$$ComponentProps>): void; }; declare const MagicScrollbarThumb: import("svelte").Component<{ component: any; currentIndex?: number; currentY?: number; height?: number; isDragging?: boolean; maxThumbTravel?: number; minThumbTravel?: number; startY?: number; thumbHeight?: number; thumbPosition?: number; width?: number; goto: any; size: any; }, {}, "width" | "height" | "currentIndex" | "currentY" | "isDragging" | "maxThumbTravel" | "minThumbTravel" | "startY" | "thumbHeight" | "thumbPosition">; type $$ComponentProps = { component: any; currentIndex?: number; currentY?: number; height?: number; isDragging?: boolean; maxThumbTravel?: number; minThumbTravel?: number; startY?: number; thumbHeight?: number; thumbPosition?: number; width?: number; goto: any; size: any; };