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/CompositionEvent/CompositionEvent below:

CompositionEvent: CompositionEvent() constructor - Web APIs

CompositionEvent: CompositionEvent() constructor

Baseline Widely available

The CompositionEvent() constructor creates a new CompositionEvent object.

Syntax
new CompositionEvent(type)
new CompositionEvent(type, options)
Parameters
type

A string with the name of the event. It is case-sensitive and browsers set it to compositionstart, compositionupdate, or compositionend.

options Optional

An object that, in addition of the properties defined in UIEvent(), has the following properties:

data Optional

A string used to initialize the data property of the new CompositionEvent. Browser-generated events set it to the characters generated by the IME composition.

Return value

A new CompositionEvent object.

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