We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.internal.nodefeature.
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:
public class ShadowRootHost extends ServerSideFeature
Marker feature for a
StateNode
which is a shadow root for some element.Since:
1.0
Author:
Vaadin Ltd
See Also:
-
-
Constructor Summary
Constructors Constructor and Description ShadowRootHost(StateNode node)
Creates a new instance of the feature for the given
node
.
-
Method Summary
All Methods Modifier and Type Method and 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 given
node
.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
-
-