public class ShadowRootHost extends ServerSideFeature
StateNode
which is a shadow root for some
element.
For internal use only. May be renamed or removed in a future release.
Constructor and Description |
---|
ShadowRootHost(StateNode node)
Creates a new instance of the feature for the given
node . |
Modifier and Type | Method and Description |
---|---|
StateNode |
getHost()
Gets the host state node of the shadow root node.
|
collectChanges, forEachChild, generateChangesFromEmpty
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach, onDetach
public ShadowRootHost(StateNode node)
node
.node
- the node to create the feature forpublic StateNode getHost()
Copyright © 2025. All rights reserved.