Class ShadowRootHost
- java.lang.Object
-
- com.vaadin.flow.internal.nodefeature.NodeFeature
-
- com.vaadin.flow.internal.nodefeature.ServerSideFeature
-
- com.vaadin.flow.internal.nodefeature.ShadowRootHost
-
- All Implemented Interfaces:
Serializable
public class ShadowRootHost extends ServerSideFeature
Marker feature for aStateNode
which is a shadow root for some element.For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShadowRootHost(StateNode node)
Creates a new instance of the feature for the givennode
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StateNode
getHost()
Gets the host state node of the shadow root node.-
Methods inherited from class com.vaadin.flow.internal.nodefeature.ServerSideFeature
collectChanges, forEachChild, generateChangesFromEmpty
-
Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeFeature
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach, onDetach
-
-
-
-
Constructor Detail
-
ShadowRootHost
public ShadowRootHost(StateNode node)
Creates a new instance of the feature for the givennode
.- Parameters:
node
- the node to create the feature for
-
-
Method Detail
-
getHost
public StateNode getHost()
Gets the host state node of the shadow root node.- Returns:
- the host element node
-
-