package js.html
extends Event
extended by ZoomEvent, CompositionEvent, FocusEvent, InputEvent, KeyboardEvent, MouseEvent, ScrollAreaEvent, TouchEvent
Available on jsThe
UIEventinterface represents simple user interface events.Documentation UIEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
new (type:String, ?eventInitDict:UIEventInit)Throws:
null |
DOMError |
|---|
cancelBubble:BoolIs a Boolean indicating whether the bubbling of the event has been canceled or not.
read only detail:IntReturns a long with details about the event, depending on the event type.
read only isChar:BoolReturns a Boolean indicating whether the event produced a key character or not.
read only layerX:IntReturns the horizontal coordinate of the event relative to the current layer.
read only layerY:IntReturns the vertical coordinate of the event relative to the current layer.
read only pageX:IntReturns the horizontal coordinate of the event relative to the whole document.
read only pageY:IntReturns the vertical coordinate of the event relative to the whole document.
read only rangeOffset:Intread only rangeParent:Noderead only view:WindowReturns a WindowProxy that contains the view that generated the event.
read only which:IntReturns the numeric keyCode of the key pressed, or the character code (charCode) for an alphanumeric key pressed.
initUIEvent (aType:String, aCanBubble:Bool, aCancelable:Bool, aView:Window, aDetail:Int):VoidInitializes a UIEvent object. If the event has already being dispatched, this method does nothing.
static inline read only SCROLL_PAGE_DOWN:Int = 32768 static inline read only SCROLL_PAGE_UP:Int = -32768
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/UIEvent.html