Input · function
isTypingTarget
INPUT covers buttons and checkboxes too, which do not take text — but a Space on a
focused button is the browser's own "press it", so leaving those alone is right for
the same reason.
Explained in Moving things.
function isTypingTarget(target: EventTarget | null): booleanimport { isTypingTarget } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
target | EventTarget | null |