com.vaadin.flow.component.shared.
Interface HasClientValidation
All Superinterfaces:
All Known Implementing Classes:
AbstractNumberField
, BigDecimalField
, Checkbox
, CheckboxGroup
, ComboBox
, ComboBoxBase
, DatePicker
, DateTimePicker
, EmailField
, IntegerField
, MultiSelectComboBox
, NumberField
, PasswordField
, RadioButtonGroup
, Select
, TextArea
, TextField
, TextFieldBase
, TimePicker
Mixin interface for subscribing to the client-side `validated` event from a component.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
An event fired by the web component whenever it is validated on the client-side.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Registration
addClientValidatedEventListener
(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 Registration addClientValidatedEventListener(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.
-