UNPKG

svelte-ux

Version:

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

17 lines (16 loc) 531 B
/** * Set `height` or `max-height` to viewport height excluding node's current viewport top */ export declare function remainingViewportHeight(node: HTMLElement, options?: { max?: boolean; offset?: number; enabled?: boolean; }): SvelteActionReturnType; /** * Set `width` or `max-width` to viewport width excluding node's current viewport left */ export declare function remainingViewportWidth(node: HTMLElement, options?: { max?: boolean; offset?: number; enabled?: boolean; }): SvelteActionReturnType;