@gechiui/dom
Version:
DOM utilities module for GeChiUI.
10 lines • 386 B
TypeScript
/**
* Check whether the contents of the element have been entirely selected.
* Returns true if there is no possibility of selection.
*
* @param {HTMLElement} element The element to check.
*
* @return {boolean} True if entirely selected, false if not.
*/
export default function isEntirelySelected(element: HTMLElement): boolean;
//# sourceMappingURL=is-entirely-selected.d.ts.map