@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="MutationObserverInit")
public interface MutationObserverInit
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MutationObserverInit.Builder
The MutationObserverInit dictionary describes the configuration of a mutation observer.
|
| Modifier and Type | Method and Description |
|---|---|
JsArray<java.lang.String> |
attributeFilter()
The MutationObserverInit dictionary's optional attributeFilter property is an array of strings specifying the names of the attributes whose values are to be monitored for changes.
|
boolean |
attributeOldValue()
The MutationObserverInit dictionary's optional attributeOldValue property is used to specify whether or not to record the prior value of the altered attribute in MutationRecord objects denoting attribute value changes.
|
boolean |
attributes()
The MutationObserverInit dictionary's optional attributes property is used to specify whether or not to watch for attribute value changes on the node or nodes being observed.
|
boolean |
characterData()
The MutationObserverInit dictionary's optional characterData property is used to specify whether or not to monitor the node or nodes being observed for changes to their textual contents.
|
boolean |
characterDataOldValue()
The MutationObserverInit dictionary's optional characterDataOldValue property is used to specify whether or not the MutationRecord.oldValue property for DOM mutations should be set to the previous value of text nodes which changed.
|
boolean |
childList()
The MutationObserverInit dictionary's optional childList property indicates whether or not to monitor the specified node or nodes for the addition or removal of new child nodes.
|
static MutationObserverInit.Builder |
create() |
void |
setAttributeFilter(JsArray<java.lang.String> attributeFilter)
The MutationObserverInit dictionary's optional attributeFilter property is an array of strings specifying the names of the attributes whose values are to be monitored for changes.
|
default void |
setAttributeFilter(java.lang.String... attributeFilter)
The MutationObserverInit dictionary's optional attributeFilter property is an array of strings specifying the names of the attributes whose values are to be monitored for changes.
|
void |
setAttributeOldValue(boolean attributeOldValue)
The MutationObserverInit dictionary's optional attributeOldValue property is used to specify whether or not to record the prior value of the altered attribute in MutationRecord objects denoting attribute value changes.
|
void |
setAttributes(boolean attributes)
The MutationObserverInit dictionary's optional attributes property is used to specify whether or not to watch for attribute value changes on the node or nodes being observed.
|
void |
setCharacterData(boolean characterData)
The MutationObserverInit dictionary's optional characterData property is used to specify whether or not to monitor the node or nodes being observed for changes to their textual contents.
|
void |
setCharacterDataOldValue(boolean characterDataOldValue)
The MutationObserverInit dictionary's optional characterDataOldValue property is used to specify whether or not the MutationRecord.oldValue property for DOM mutations should be set to the previous value of text nodes which changed.
|
void |
setChildList(boolean childList)
The MutationObserverInit dictionary's optional childList property indicates whether or not to monitor the specified node or nodes for the addition or removal of new child nodes.
|
void |
setSubtree(boolean subtree)
The MutationObserverInit dictionary's optional subtree property can be set to true to monitor the targeted node and all of its descendants.
|
boolean |
subtree()
The MutationObserverInit dictionary's optional subtree property can be set to true to monitor the targeted node and all of its descendants.
|
@JsOverlay @Nonnull static MutationObserverInit.Builder create()
@JsProperty(name="attributeFilter") JsArray<java.lang.String> attributeFilter()
@JsProperty
void setAttributeFilter(@Nonnull
JsArray<java.lang.String> attributeFilter)
@JsOverlay
default void setAttributeFilter(@Nonnull
java.lang.String... attributeFilter)
@JsProperty(name="attributeOldValue") boolean attributeOldValue()
@JsProperty void setAttributeOldValue(boolean attributeOldValue)
@JsProperty(name="attributes") boolean attributes()
@JsProperty void setAttributes(boolean attributes)
@JsProperty(name="characterData") boolean characterData()
@JsProperty void setCharacterData(boolean characterData)
@JsProperty(name="characterDataOldValue") boolean characterDataOldValue()
@JsProperty void setCharacterDataOldValue(boolean characterDataOldValue)
@JsProperty(name="childList") boolean childList()
@JsProperty void setChildList(boolean childList)
@JsProperty(name="subtree") boolean subtree()
@JsProperty void setSubtree(boolean subtree)