package js.html
extends Event
extended by CompositionEvent, FocusEvent, InputEvent, KeyboardEvent, MouseEvent, ScrollAreaEvent, TouchEvent
Available on js
The UIEvent interface represents simple user interface events.
Documentation UIEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
staticinlineread onlySCROLL_PAGE_DOWN:Int = 32768staticinlineread onlySCROLL_PAGE_UP:Int = -32768new(type:String, ?eventInitDict:Null<UIEventInit>)Throws:
null |
DOMError |
|---|
read onlydetail:IntReturns a long with details about the event, depending on the event type.
read onlylayerX:IntReturns the horizontal coordinate of the event relative to the current layer.
read onlylayerY:IntReturns the vertical coordinate of the event relative to the current layer.
read onlypageX:IntReturns the horizontal coordinate of the event relative to the whole document.
read onlypageY:IntReturns the vertical coordinate of the event relative to the whole document.
read onlyrangeOffset:Intread onlyrangeParent:Noderead onlyview:WindowReturns a WindowProxy that contains the view that generated the event.
read onlywhich:IntReturns the numeric keyCode of the key pressed, or the character code (charCode) for an alphanumeric key pressed.
initUIEvent(aType:String, aCanBubble:Bool = false, aCancelable:Bool = false, ?aView:Window, aDetail:Int = 0):VoidInitializes a UIEvent object. If the event has already being dispatched, this method does nothing.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/UIEvent.html