A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/InputEvent below:

InputEvent - Web APIs | MDN

InputEvent

Baseline Widely available *

The InputEvent interface represents an event notifying the user of editable content changes.

Event UIEvent InputEvent Constructor
InputEvent()

Creates an InputEvent object.

Instance properties

This interface inherits properties from its parents, UIEvent and Event.

InputEvent.data Read only

Returns a string with the inserted characters. This may be an empty string if the change doesn't insert text (for example, when deleting characters).

InputEvent.dataTransfer Read only

Returns a DataTransfer object containing information about richtext or plaintext data being added to or removed from editable content.

InputEvent.inputType Read only

Returns the type of change for editable content such as, for example, inserting, deleting, or formatting text.

InputEvent.isComposing Read only

Returns a Boolean value indicating if the event is fired after compositionstart and before compositionend.

Instance methods

This interface inherits methods from its parents, UIEvent and Event.

InputEvent.getTargetRanges()

Returns an array of StaticRange objects that will be affected by a change to the DOM if the input event is not canceled.

Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4