package js.html
Available on js
The DOM CompositionEvent
represents events that occur due to the user indirectly entering text.
Documentation CompositionEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
new(type:String, ?eventInitDict:Null<CompositionEventInit>)
Throws:
null |
DOMError |
---|
read onlydata:String
Returns the characters generated by the input method that raised the event; its varies depending on the type of event that generated the CompositionEvent
object.
read onlylocale:String
Returns the locale of current input method (for example, the keyboard layout locale if the composition is associated with IME).
initCompositionEvent(typeArg:String, canBubbleArg:Bool = false, cancelableArg:Bool = false, ?viewArg:Window, ?dataArg:String, localeArg:String = ""):Void
Initializes the attributes of a CompositionEvent
object.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/CompositionEvent.html