CompositionEvent
The DOM CompositionEvent represents events that occur due to the user indirectly entering text.
interface CompositionEvent extends UIEvent {
readonly data: string;
initCompositionEvent(
}typeArg: string,
bubblesArg?: boolean,
cancelableArg?: boolean,
viewArg?: WindowProxy | null,
dataArg?: string,
): void;var CompositionEvent: {
prototype: CompositionEvent;
new (type: string, eventInitDict?: CompositionEventInit): CompositionEvent;
};