pub trait Validatable {
    fn as_element(&self) -> ∈
    fn validity_state(&self) -> Root<Dom<ValidityState>>;
    fn is_instance_validatable(&self) -> bool;

    fn perform_validation(
        &self,
        _validate_flags: ValidationFlags
    ) -> ValidationFlags { ... } fn validate(&self, validate_flags: ValidationFlags) -> ValidationFlags { ... } fn check_validity(&self) -> bool { ... } fn report_validity(&self) -> bool { ... } fn validation_message(&self) -> DOMString { ... } }
Expand description

Trait for elements with constraint validation support

Required Methods

Provided Methods

Implementors