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

Class AttachEvent

    • Constructor Detail

      • AttachEvent

        public AttachEvent​(Component source,
                           boolean initialAttach)

        Creates a new attach event with the given component as source.

        Parameters:

        source - the component that was attached

        initialAttach - indicates whether this is the first time the component (element) has been attached

    • Method Detail

      • isInitialAttach

        public boolean isInitialAttach()

        Checks whether this is the first time the component has been attached.

        Returns:

        true if this it the first time the component has been attached, false otherwise