Interface HasClientValidation

All Superinterfaces:
Serializable

public interface HasClientValidation extends Serializable
Mixin interface for subscribing to the client-side `validated` event from a component.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    An event fired by the web component whenever it is validated on the client-side.
  • Method Summary

    Modifier and Type
    Method
    Description
    default com.vaadin.flow.shared.Registration
    addClientValidatedEventListener(com.vaadin.flow.component.ComponentEventListener<HasClientValidation.ClientValidatedEvent> listener)
    Adds a listener for the validated event fired by the web component whenever it is validated on the client-side.
  • Method Details

    • addClientValidatedEventListener

      default com.vaadin.flow.shared.Registration addClientValidatedEventListener(com.vaadin.flow.component.ComponentEventListener<HasClientValidation.ClientValidatedEvent> listener)
      Adds a listener for the validated event fired by the web component whenever it is validated on the client-side.
      Parameters:
      listener - the listener, not null.
      Returns:
      a Registration for removing the event listener.