com.vaadin.flow.component.

Interface ClickNotifier<T extends Component>

    • Method Detail

      • addClickListener

        default Registration addClickListener(ComponentEventListener<ClickEvent<T>> listener)

        Adds a click listener to this component.

        Parameters:

        listener - the listener to add, not null

        Returns:

        a handle that can be used for removing the listener