This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

CompositionEvent

Summary

An interfact that provides specific contextual information associated with Composition Events.

Inherits from UIEventUIEvent

Properties

html/elements/data
Gets the text affected by the composition event.
locale
Gets the locale name (language code, e.g., "en-US", "fr", "de", "ja", etc.) for the composition event, if available; otherwise, the empty string.

Methods

No methods.

Events

No events.

Inherited from UIEvent

Properties

detail

Gets additional, developer defined, information about an event.

view

Gets the window object that an event is generated from.

[object window]

Methods

initUIEvent
Initializes a new user interface event that the createEvent method created.

Events

abort
Fires when the user aborts the download.
activate
Fires when the object is set as the active element.

Related specifications

DOM Level 3 Events
Working Draft

Attributions