@melt-ui/svelte
Version:

11 lines (10 loc) • 364 B
TypeScript
import type { WithGet } from '../../helpers/withGet.js';
import type { Readable } from 'svelte/store';
export type PreventTextSelectionOverflowConfig = {
/**
* Whether should prevent text selection overflowing the element when the element is the top layer.
*
* @defaultValue `true`
*/
enabled?: boolean | WithGet<Readable<boolean>>;
};