checkValidity method
The checkValidity() method of the ElementInternals interface
checks if the element meets any
constraint validation
rules applied to it.
If checkValidity returns false then a cancelable
invalid event
is fired on the element.
Implementation
external bool checkValidity();