HTMLOutputElement

Overview

The HTMLOutputElement interface provides properties and methods (beyond those inherited from HTMLElement) for manipulating the layout and presentation of <output> elements.

Location

 

checkValidity

Checks the validity of the element and returns a Boolean holding the check result.

 

method checkValidity: HTMLElement

 

HTMLElement checkValidity()

 

func checkValidity() -> HTMLElement

 

HTMLElement checkValidity()

 

Function checkValidity() As HTMLElement

defaultValue

 

property defaultValue: String read write;

 

String defaultValue { get; set; }

 

var defaultValue: String { get{} set{} }

 

String defaultValue { __get; __set; }

 

Property defaultValue() As String

form

 

property form: HTMLFormElement read;

 

HTMLFormElement form { get; }

 

var form: HTMLFormElement { get{} }

 

HTMLFormElement form { __get; }

 

ReadOnly Property form() As HTMLFormElement

htmlFor

 

property htmlFor: DOMTokenList read;

 

DOMTokenList htmlFor { get; }

 

var htmlFor: DOMTokenList { get{} }

 

DOMTokenList htmlFor { __get; }

 

ReadOnly Property htmlFor() As DOMTokenList

labels

 

property labels: HTMLElement read;

 

HTMLElement labels { get; }

 

var labels: HTMLElement { get{} }

 

HTMLElement labels { __get; }

 

ReadOnly Property labels() As HTMLElement

name

 

property name: String read write;

 

String name { get; set; }

 

var name: String { get{} set{} }

 

String name { __get; __set; }

 

Property name() As String

reportValidity

This method reports the problems with the constraints on the element, if any, to the user. If there are problems, fires an invalid event at the element, and returns false; if there are no problems, it returns true.

 

method reportValidity: Boolean

 

Boolean reportValidity()

 

func reportValidity() -> Boolean

 

Boolean reportValidity()

 

Function reportValidity() As Boolean

setCustomValidity

Sets a custom validity message for the element. If this message is not the empty string, then the element is suffering from a custom validity error, and does not validate.

 

method setCustomValidity: HTMLElement

 

HTMLElement setCustomValidity()

 

func setCustomValidity() -> HTMLElement

 

HTMLElement setCustomValidity()

 

Function setCustomValidity() As HTMLElement

type

 

property type: dynamic read;

 

dynamic type { get; }

 

var type: dynamic { get{} }

 

dynamic type { __get; }

 

ReadOnly Property type() As dynamic

validationMessage

 

property validationMessage: String read;

 

String validationMessage { get; }

 

var validationMessage: String { get{} }

 

String validationMessage { __get; }

 

ReadOnly Property validationMessage() As String

validity

 

property validity: ValidityState read;

 

ValidityState validity { get; }

 

var validity: ValidityState { get{} }

 

ValidityState validity { __get; }

 

ReadOnly Property validity() As ValidityState

value

 

property value: String read write;

 

String value { get; set; }

 

var value: String { get{} set{} }

 

String value { __get; __set; }

 

Property value() As String

willValidate

 

property willValidate: HTMLElement read;

 

HTMLElement willValidate { get; }

 

var willValidate: HTMLElement { get{} }

 

HTMLElement willValidate { __get; }

 

ReadOnly Property willValidate() As HTMLElement

 

defaultValue

 

property defaultValue: String read write;

 

String defaultValue { get; set; }

 

var defaultValue: String { get{} set{} }

 

String defaultValue { __get; __set; }

 

Property defaultValue() As String

form

 

property form: HTMLFormElement read;

 

HTMLFormElement form { get; }

 

var form: HTMLFormElement { get{} }

 

HTMLFormElement form { __get; }

 

ReadOnly Property form() As HTMLFormElement

htmlFor

 

property htmlFor: DOMTokenList read;

 

DOMTokenList htmlFor { get; }

 

var htmlFor: DOMTokenList { get{} }

 

DOMTokenList htmlFor { __get; }

 

ReadOnly Property htmlFor() As DOMTokenList

labels

 

property labels: HTMLElement read;

 

HTMLElement labels { get; }

 

var labels: HTMLElement { get{} }

 

HTMLElement labels { __get; }

 

ReadOnly Property labels() As HTMLElement

name

 

property name: String read write;

 

String name { get; set; }

 

var name: String { get{} set{} }

 

String name { __get; __set; }

 

Property name() As String

type

 

property type: dynamic read;

 

dynamic type { get; }

 

var type: dynamic { get{} }

 

dynamic type { __get; }

 

ReadOnly Property type() As dynamic

validationMessage

 

property validationMessage: String read;

 

String validationMessage { get; }

 

var validationMessage: String { get{} }

 

String validationMessage { __get; }

 

ReadOnly Property validationMessage() As String

validity

 

property validity: ValidityState read;

 

ValidityState validity { get; }

 

var validity: ValidityState { get{} }

 

ValidityState validity { __get; }

 

ReadOnly Property validity() As ValidityState

value

 

property value: String read write;

 

String value { get; set; }

 

var value: String { get{} set{} }

 

String value { __get; __set; }

 

Property value() As String

willValidate

 

property willValidate: HTMLElement read;

 

HTMLElement willValidate { get; }

 

var willValidate: HTMLElement { get{} }

 

HTMLElement willValidate { __get; }

 

ReadOnly Property willValidate() As HTMLElement

 

checkValidity

Checks the validity of the element and returns a Boolean holding the check result.

 

method checkValidity: HTMLElement

 

HTMLElement checkValidity()

 

func checkValidity() -> HTMLElement

 

HTMLElement checkValidity()

 

Function checkValidity() As HTMLElement

reportValidity

This method reports the problems with the constraints on the element, if any, to the user. If there are problems, fires an invalid event at the element, and returns false; if there are no problems, it returns true.

 

method reportValidity: Boolean

 

Boolean reportValidity()

 

func reportValidity() -> Boolean

 

Boolean reportValidity()

 

Function reportValidity() As Boolean

setCustomValidity

Sets a custom validity message for the element. If this message is not the empty string, then the element is suffering from a custom validity error, and does not validate.

 

method setCustomValidity: HTMLElement

 

HTMLElement setCustomValidity()

 

func setCustomValidity() -> HTMLElement

 

HTMLElement setCustomValidity()

 

Function setCustomValidity() As HTMLElement