ThreePipe
    Preparing search index...

    Function isTextTarget

    • The target of a key event is a text field: an input that takes text, a text area, a select, or an editable element (or inside one). Keyboard shortcuts leave such a key to the field. A checkbox, a radio button, a button, a colour or a file input keeps the focus after a click, but takes no text: the shortcuts work there.

      Parameters

      • target: EventTarget | null

      Returns boolean