@melt-ui/svelte
Version:

6 lines (5 loc) • 307 B
TypeScript
import type { PreventTextSelectionOverflowConfig } from './types.js';
export declare const usePreventTextSelectionOverflow: <Node_1 extends HTMLElement>(node: Node_1, config?: PreventTextSelectionOverflowConfig) => {
destroy(): void;
update: (config: PreventTextSelectionOverflowConfig) => void;
};