HTML DOM InputEvent
The InputEvent Object
The InputEvent Object handles events that occur when an input element is changed.
Input Events
Event | Occurs When |
---|---|
oninput | The content (value) of an input element is changed |
InputEvent Properties
Property | Returns |
---|---|
data | The inserted characters |
dataTransfer | An object containing information about the inserted/deleted data |
inputType | The type of the change (i.e "inserting" or "deleting") |
isComposing | If the state of the event is composing or not |
InputEvent Methods
Method | Returns |
---|---|
getTargetRanges() | An array containing target ranges that will be affected by the insertion/deletion |
Inherited Properties and Methods
The InputEvent inherits all the properties and methods from:
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.