SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    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: HTMLTextAreaElement | HTMLInputElement | null

      Returns boolean