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. */
* 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.
Copyright (C) 2005-2007, Scott Lanning
This software is licensed under the LGPL. See Mozilla::DOM for a full notice.