Interface ValidityEvent

Describes the event that is dispatched by the validator.

interface ValidityEvent {
    elementId: string;
    isValid: boolean;
    nativeEvent: ValidityNativeEvent;
    target: ValidatableHTMLElement;
    validationMessage: string;
    validityMode: ValidityMode;
}

Properties

elementId: string
isValid: boolean
nativeEvent: ValidityNativeEvent
validationMessage: string
validityMode: ValidityMode