Interface HTMLOutputElement

All Superinterfaces:
Element, EventTarget, HTMLElement, InnerHTML, Node, NonDocumentTypeChildNode, ParentNode

public interface HTMLOutputElement extends HTMLElement
Provides properties and methods (beyond those inherited from HTMLElement) for manipulating the layout and presentation of <output> elements.
  • Method Details

    • getDefaultValue

      String getDefaultValue()

      getDefaultValue.

      Returns:
      a String object.
    • setDefaultValue

      void setDefaultValue(String defaultValue)

      setDefaultValue.

      Parameters:
      defaultValue - a String object.
    • getForm

      HTMLFormElement getForm()

      getForm.

      Returns:
      a HTMLFormElement object.
    • getHtmlFor

      DOMTokenList getHtmlFor()

      getHtmlFor.

      Returns:
      a DOMTokenList object.
    • getLabels

      NodeList getLabels()

      getLabels.

      Returns:
      a NodeList object.
    • getName

      String getName()

      getName.

      Returns:
      a String object.
    • setName

      void setName(String name)

      setName.

      Parameters:
      name - a String object.
    • getType

      String getType()

      getType.

      Returns:
      a String object.
    • getValidationMessage

      String getValidationMessage()

      getValidationMessage.

      Returns:
      a String object.
    • getValidity

      ValidityState getValidity()

      getValidity.

      Returns:
      a ValidityState object.
    • getValue

      String getValue()

      getValue.

      Returns:
      a String object.
    • setValue

      void setValue(String value)

      setValue.

      Parameters:
      value - a String object.
    • isWillValidate

      boolean isWillValidate()

      isWillValidate.

      Returns:
      a boolean.
    • checkValidity

      boolean checkValidity()

      checkValidity.

      Returns:
      a boolean.
    • reportValidity

      boolean reportValidity()

      reportValidity.

      Returns:
      a boolean.
    • setCustomValidity

      void setCustomValidity(String error)

      setCustomValidity.

      Parameters:
      error - a String object.