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