InputEvent.inputType

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The inputType read-only property of the InputEvent interface returns the type of change for editible content such as, for example, inserting, deleting, or formatting text.

Syntax

var aString = inputType.inputType

Value

A DOMString.

Example

// TBD

Specifications

Specification Status Comment
Input Events Level 2
The definition of 'inputType' in that specification.
Working Draft Initial definition.

Browser Compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support60 ? No No4710.1
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support6060 ? No4710.1 ?

Document Tags and Contributors

Contributors to this page: fscholz, jpmedley
Last updated by: fscholz,