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

30 lines (29 loc) 753 B
export default MagicItem; type MagicItem = { $on?(type: string, callback: (e: any) => void): () => void; $set?(props: Partial<$$ComponentProps>): void; }; declare const MagicItem: import("svelte").Component<{ component: any; width?: any; height?: any; transform?: Record<string, any>; isTouchMove: any; isInView?: Record<string, any>; class?: string; style?: string; index: any; isMounted: any; }, {}, "width" | "height" | "transform" | "isInView">; type $$ComponentProps = { component: any; width?: any; height?: any; transform?: Record<string, any>; isTouchMove: any; isInView?: Record<string, any>; class?: string; style?: string; index: any; isMounted: any; };