OutputElement Interface
Extends
Constructors
Code new OutputElement() #
OutputElement();
Methods
Code bool checkValidity() #
in Gecko 2.0. Returns false if the element is a candidate for constraint validation, and it does not satisfy its constraints. In this case, it also fires an invalid
event at the element. It returns true if the element is not a candidate for constraint validation, or if it satisfies its constraints.
The standard behavior is to always return true because output
objects are never candidates for constraint validation.
bool checkValidity();
Code void setCustomValidity(String error) #
void setCustomValidity(String error);
Fields
Code String defaultValue #
String defaultValue;
Code final FormElement form #
Code DOMSettableTokenList htmlFor #
Code final NodeList labels #
final NodeList labels;
Code final String validationMessage #
final String validationMessage;
Code final ValidityState validity #
final ValidityState validity;
Code String value #
String value;
Code final bool willValidate #
in Gecko 2.0. Indicates whether the element is a candidate for constraint validation. It is false if any conditions bar it from constraint validation. (See bug 604673 .)
The standard behavior is to always return false because output
objects are never candidates for constraint validation.
final bool willValidate;
This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.