CompositionEvent

open class CompositionEvent(val type: EventType<CompositionEvent>, init: CompositionEventInit = definedExternally) : UIEvent(source)

The DOM CompositionEvent represents events that occur due to the user indirectly entering text.

MDN Reference

Constructors

Link copied to clipboard
constructor(type: EventType<CompositionEvent>, init: CompositionEventInit = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The data read-only property of the method that raised the event; its exact nature varies depending on the type of event that generated the CompositionEvent object.

Link copied to clipboard
Link copied to clipboard
val detail: Int

The UIEvent.detail read-only property, when non-zero, provides the current (or next, depending on the event) click count.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val type: EventType<CompositionEvent>
Link copied to clipboard
val view: Window?

The UIEvent.view read-only property returns the is the Window object the event happened in.

Functions

Link copied to clipboard
open override fun asInit(): CompositionEventInit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard