HTMLObjectElement: validity property
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since December 2018.
The validity read-only property of the
HTMLObjectElement interface returns a ValidityState with
the validity states that this element is in.
Value
A ValidityState object.
Specifications
| Specification |
|---|
| HTML Standard # dom-cva-validity |
Browser compatibility
BCD tables only load in the browser