Creates a new Summary instance given a MutationProjection and the IQuery that was responsible for this summary being generated.
The projection containing the changes.
The query that cause the summary to be created.
All elements presently in the subtree and having the given attribute, but that were not in the subtree, lacked the given attribute, or both.
An object reporting attribute value changes. The object contains one key
for each attribute name contained in elementAttributes
. The value of
each key is an array of elements previously & presently in the subtree and
previously & presently matching at least one pattern for whom the
corresponding attribute changed value.
All characterData nodes previously & presently whose value changed.
All elements previously in the subtree and having the given attribute, but that now are not in the subtree, lack the given attribute or both
All nodes that are still in the subtree and still have their same parent, but that have been reordered within the child list of their parent.
All nodes that were moved from one parent to another.
All elements previously and presently in the subtree and previously and presently having the given attribute, for whom the value of the given attribute change.
Retrieves the previous value of an attribute for an element. The Element must be contained in the valueChanged element array, otherwise the function throws an error.
The element to ge the old value for.
The name off the attribute on the element to get the old value for.
Retrieves the previous text of node
. node
must be contained in the
valueChanged
node array, otherwise the function throws an error.
The node to get the old character data for.
Will retrieve the previous parentNode for and node. The node must be contained in the removed element array, otherwise the function throws an error.
The node to get the previous parent for.
Retrieves the previous previousSibling for a node. The node must be contained in the reordered element array, otherwise the function throws an error.
The node to get the previous sibling for.
Generated using TypeDoc
Represents a set of changes made to the DOM.