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
Marker feature for a
StateNode
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:
-
Constructor Summary
ConstructorDescriptionShadowRootHost
(StateNode node) Creates a new instance of the feature for the givennode
. -
Method Summary
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 Details
-
ShadowRootHost
Creates a new instance of the feature for the givennode
.- Parameters:
node
- the node to create the feature for
-
-
Method Details
-
getHost
Gets the host state node of the shadow root node.- Returns:
- the host element node
-