You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.internal.nodefeature.

Class ShadowRootHost

  • All Implemented Interfaces:

    Serializable

    public class ShadowRootHost
    extends ServerSideFeature

    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:

    Serialized Form

    • 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