KeyEventParams

fun KeyEventParams(uiEventModifierParams: UiEventModifierParams = UiEventModifierParams(), domKeyCode: DomKeyCode = DomKeyCode.NONE, character: String = ""): KeyEventParams

Creates a new instance of KeyEventParams with the given parameters.

Parameters

uiEventModifierParams

The DOM event parameters with the key modifiers.

domKeyCode

The code of the physical key used in the event.

character

A string that contains either a UTF-8 character associated with the domKeyCode or one of the predefined values. The predefined values are listed in the W3C specification.