public class ShadowRootData extends NodeValue<StateNode>
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, setValue
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach, onDetach
public ShadowRootData(StateNode node)
node
- the node that the map belongs toprotected String getKey()
NodeValue
The 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 © 2019. All rights reserved.