CompositionEvent Class

https://w3c.github.io/uievents/#compositionevent

public sealed class CompositionEvent : UIEvent
Inheritance
UIEvent CompositionEvent

Constructors

NameDescription
CompositionEvent(string, CompositionEventInit?)Creates a composition event of the given type with the given initialization dictionary.

CompositionEvent(string, CompositionEventInit?)

UIEvents.cs

Creates a composition event of the given type with the given initialization dictionary.

public CompositionEvent(string type, CompositionEventInit? eventInitDict = null)

Properties

NameDescription
DataGets the characters generated by the input method during the composition.

Gets the characters generated by the input method during the composition.

public string Data { get; }

Methods

NameDescription
InitCompositionEvent(string, bool, bool, EventTarget?, string)https://w3c.github.io/uievents/#dom-compositionevent-initcompositionevent

InitCompositionEvent(string, bool, bool, EventTarget?, string)

UIEvents.cs

https://w3c.github.io/uievents/#dom-compositionevent-initcompositionevent

public void InitCompositionEvent(string typeArg, bool bubblesArg = false, bool cancelableArg = false, EventTarget? viewArg = null, string dataArg = "")