UNPKG

svelte-ux

Version:

- Increment version in `package.json` and commit as `Version bump to x.y.z` - `npm run publish`

10 lines (9 loc) 352 B
export type Edge = 'top' | 'bottom' | 'left' | 'right'; type StickyOptions = { [edge in Edge]?: boolean; }; export declare function sticky(node: HTMLElement, options?: StickyOptions): SvelteActionReturnType; export declare function stickyContext(node: HTMLElement, options?: { type: 'page' | 'container'; }): SvelteActionReturnType; export {};