- var defaultValue : String
- The default value of the element, initially the empty string.
- var form(default,null) : FormElement
Indicates the control's form owner, reflecting the
form
HTML attribute if it is defined.
- var htmlFor : DOMSettableTokenList
Reflects the
for
HTML attribute, containing a list of IDs of other elements in the same document that contribute to (or otherwise affect) the calculated value.
- var labels(default,null) : NodeList
- A list of label elements associated with this output element.
- var name : String
Reflects the
name
HTML attribute, containing the name for the control that is submitted with form data.
- var type(default,null) : String
- Must be the string
output
. - var validationMessage(default,null) : String
- A localized message that describes the validation constraints that the control does not satisfy (if any). This is the empty string if the control is not a candidate for constraint validation (willValidate is false), or it satisfies its constraints.
- var validity(default,null) : ValidityState
- The validity states that this element is in.
- var value : String
- The value of the contents of the elements. Behaves like the textContent property.
- var willValidate(default,null) : Bool
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.
- function checkValidity() : Bool
- function setCustomValidity(error : String) : Void