package.dist.index.d.ts Maven / Gradle / Ivy
The newest version!
interface DisableTextSelectionOptions {
target?: T | undefined;
doc?: Document | undefined;
defer?: boolean | undefined;
}
declare function restoreTextSelection(options?: DisableTextSelectionOptions): void;
type MaybeElement = HTMLElement | null | undefined;
type NodeOrFn = MaybeElement | (() => MaybeElement);
declare function disableTextSelection(options?: DisableTextSelectionOptions): () => void;
export { type DisableTextSelectionOptions, disableTextSelection, restoreTextSelection };
© 2015 - 2025 Weber Informatics LLC | Privacy Policy