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