HTML::DOM::Event::UI - A Perl class for HTML DOM UIEvent objects
Version 0.058
# ...
This class provides UIEvent objects for HTML::DOM, which objects are passed to event handlers for certain event types when they are invoked. It inherits from HTML::DOM::Event.
See also those inherited from HTML::DOM::Event.
These are both read-only and ignore their arguments.
The view object associated with the event.
A number that's meant to specify some info about the event. For instance, for the DOMActivate event, 1 is a normal activation, and 2 is a hyperactivation (whatever that means). A click event on an element triggers a DOMActivate event, simply copying the detail attribute from the click event.
detail
This initialises the event object. See "initEvent" in HTML::DOM::Event for more detail.
Alternative to initUIEvent that's easier to use:
initUIEvent
init $event type => $type, propagates_up => 1, cancellable => 1, view => $view, detail => 1, ;
HTML::DOM
HTML::DOM::Event
HTML::DOM::Event::Mouse
1 POD Error
The following errors were encountered while parsing the POD:
=over without closing =back
To install HTML::DOM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::DOM
CPAN shell
perl -MCPAN -e shell install HTML::DOM
For more information on module installation, please visit the detailed CPAN module installation guide.