🔰input event
🚧 under construction
Last updated
🚧 under construction
Last updated
browser ⟩ event ⟩ type ⟩ input
Elements like <input>
and <textarea>
, fire "input" events whenever the user changes their content. To get the actual content that was typed, it is best to directly read it from the focused field. Eloquent JS ⟩ Form Fields
Using key events to figure out what is being typed is problematic.
virtual keyboard on Android phones doesn’t fire key events.
input method editor (IME) may use multiple key strokes to create characters.