GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HTML::DOM::Event::Mutation(3) User Contributed Perl Documentation HTML::DOM::Event::Mutation(3)

HTML::DOM::Event::Mutation - A Perl class for HTML DOM mutation event objects

Version 0.058

  # ...

This class provides MutationEvent 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 all read-only and ignore their arguments.
relatedNode
This holds the parent node for DOMNodeInserted and DOMNodeRemoved events, and the Attr node involved for a DOMAttrModified event.
prevValue
The previous value for DOMAttrModified and DOMCharacterDataModified events.
newValue
The new value for the same two event types.
attrName
The name of the affected attribute for DOMAttrModified events.
attrChange

initMutationEvent ( $name, $propagates_up, $cancellable, $rel_node, $prev_value, $new_value, $attr_name, $attr_change_type )
This initialises the event object. See "initEvent" in HTML::DOM::Event for more detail.
init ( ... )
Alternative to "initMutationEvent" that's easier to use:

  init $event
      type => $type,
      propagates_up => 1,
      cancellable => 1,
      rel_node => $node,
      new_value => $foo,
      prev_value => $bar,
      attr_name => $name,
      attr_change_type => HTML::DOM::Event::Mutation::REMOVAL,
  ;
    

The following constants are exported upon request, either individually or with the ':all' tag. They indicated the type of change that a DOMAttrModified event represents.
  • ADDITION
  • MODIFICATION
  • REMOVAL

HTML::DOM

HTML::DOM::Event

HTML::DOM::Event::Mouse

Hey! The above document had some coding errors, which are explained below:
Around line 150:
=over without closing =back
2018-02-02 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.