Mozilla::DOM::NSEvent
Mozilla::DOM::NSEvent is a wrapper around an instance of Mozilla's nsIDOMNSEvent interface. This class inherits from Supports.
The following constants are available. Export them as
use Mozilla::DOM::NSEvent qw(:events);
Pass this to QueryInterface.
/** The original target of the event, before any retargetings. */
Output:
* The explicit original target of the event. If the event was retargeted * for some reason other than an anonymous boundary crossing, this will be set * to the target before the retargeting occurs. For example, mouse events * are retargeted to their parent node when they happen over text nodes (bug * 185889), and in that case .target will show the parent and * .explicitOriginalTarget will show the text node. * .explicitOriginalTarget differs from .originalTarget in that it will never * contain anonymous content.
Mozilla::DOM
Copyright (C) 2005-2007, Scott Lanning
This software is licensed under the LGPL. See Mozilla::DOM for a full notice.
To install Mozilla::DOM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mozilla::DOM
CPAN shell
perl -MCPAN -e shell install Mozilla::DOM
For more information on module installation, please visit the detailed CPAN module installation guide.