public class ShadowRootData extends NodeValue<StateNode>
For internal use only. May be renamed or removed in a future release.
| Constructor and Description |
|---|
ShadowRootData(StateNode node)
Creates a new element data map for the given node.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getKey()
Gets the key that should be used when the value of this feature is sent
to the client.
|
StateNode |
getShadowRoot() |
void |
setShadowRoot(StateNode node) |
collectChanges, forEachChild, generateChangesFromEmpty, getValue, setValueallowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach, onDetachpublic ShadowRootData(StateNode node)
node - the node that the map belongs toprotected String getKey()
NodeValueThe key is fetched on demand from the sub class instead of e.g. requiring it as a constructor parameter to avoid storing an additional member field in each instance.
public void setShadowRoot(StateNode node)
public StateNode getShadowRoot()
Copyright © 2025. All rights reserved.