Web::DOM::UIEvent
The DOM UIEvent
object
DESCRIPTION
The Web::DOM::UIEvent
class implements the DOM UIEvent
interface.
METHODS
In addition to the methods of the Web::DOM::Event class, following methods are available:
$value = $ev->detail
-
Return the additional data specified for the event. [DOM3EVENTS]
$window = $ev->view
-
Return the window object associated with the event. [DOM3EVENTS]
In addition,
it also supports deprecated init_ui_event
method. [DOM3EVENTS]
The new
method of the Web::DOM::UIEvent class accepts the detail
and view
name/value pairs in its second arguments,
in addition to the name/value pairs for Web::DOM::Event objects in general. [UIEVENTS]
SUBCLASSES
There are subclasses of the class,
representing subinterfaces of the Event
interface,
containing: Web::DOM::FocusEvent,
Web::DOM::MouseEvent,
Web::DOM::KeyboardEvent,
Web::DOM::CompositionEvent,
and Web::DOM::TouchEvent.
SPECIFICATIONS
- DOM3EVENTS
-
DOM Level 3 Events
<http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-uievents>
. - UIEVENTS
-
UI Events
<https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm#constructor-uievent>
.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2013 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.