Package org.pepstock.charba.client.dom
Interface MutationObserver.MutationObserverCallback
- 
- Enclosing class:
 - MutationObserver
 
@JsFunction public static interface MutationObserver.MutationObserverCallbackA function which will be called on each DOM change that qualifies given the targeted node or subtree and options.- Author:
 - Andrea "Stock" Stocchero
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectonInvoke(MutationRecord[] mutationRecords, MutationObserver observer)The callback function takes as input two parameters:
an array ofMutationRecordobjects describing each change that occurred theMutationObserverwhich invoked the callback. 
 - 
 
- 
- 
Method Detail
- 
onInvoke
Object onInvoke(MutationRecord[] mutationRecords, MutationObserver observer)
The callback function takes as input two parameters:
- an array of 
MutationRecordobjects describing each change that occurred - the 
MutationObserverwhich invoked the callback. 
- Parameters:
 mutationRecords- an array ofMutationRecordobjects describing each change that occurredobserver- theMutationObserverwhich invoked the callback- Returns:
 - a new 
MutationObserverobject configured to call the specified callback when DOM mutations occur. 
 - an array of 
 
 - 
 
 -