svelte-ux
Version:
- Increment version in `package.json` and commit as `Version bump to x.y.z` - `npm run publish`
24 lines (23 loc) • 614 B
TypeScript
export declare function scrollIntoView(node: HTMLElement, options: {
condition: boolean | ((node: HTMLElement) => boolean);
initial?: boolean;
delay?: number;
}): SvelteActionReturnType;
export declare function scrollShadow(node: HTMLElement, options?: {
top?: {
color?: string;
};
bottom?: {
color?: string;
};
left?: {
color?: string;
};
right?: {
color?: string;
};
}): SvelteActionReturnType;
export declare function scrollFade(node: HTMLElement, options?: {
length?: number;
scrollRatio?: number;
}): SvelteActionReturnType;