SheetXL - v1.0.2
    Preparing search index...

    Function hasTextSelection

    • Whether el holds a NON-COLLAPSED selection — the other half of the rule above: once the drag ends the user is looking at a selection, and re-arming the tip on the next stray mousemove would wipe its tint again. The tip returns as soon as the selection collapses (a plain click).

      Parameters

      • el: HTMLInputElement | HTMLTextAreaElement | null

      Returns boolean