Mozilla::DOM::MutationEvent is a wrapper around an instance of Mozilla's nsIDOMMutationEvent interface. This inherits from UIEvent.
The following constants are available to be compared with GetAttrChange.
You can access these either through the event object,
export them all with
use Mozilla::DOM::MutationEvent qw(:changes),
or export them individually.
Pass this to QueryInterface.
- $eventtype (string)
- $canbubble (boolean)
- $cancelable (boolean)
- $node (Mozilla::DOM::Node)
- $prevval (string)
- $newval (string)
- $attrname (string)
- $attrchange (integer (short))
See Event::InitEvent for more information. This method is basically the same as InitEvent, but with five extra arguments. (XXX: add docs for args)
Copyright (C) 2005-2007, Scott Lanning
This software is licensed under the LGPL. See Mozilla::DOM for a full notice.