Interface GlobalAttributes

All Known Implementing Classes:
Checkbox, InputDateFormElement, InputDateTimeLocalFormElement, InputEmailFormElement, InputNumberFormElement, InputPasswordFormElement, InputTelFormElement, InputTextFormElement, InputTimeFormElement, InputUrlFormElement, SelectFormElement, TextareaFormElement

public interface GlobalAttributes
HTML Global Attributes.
Since:
4.1.0
Author:
Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    id()
     
    boolean
     
  • Method Details

    • id

      @Nullable @Nullable String id()
      Returns:
      It defines an identifier (ID) which must be unique in the whole document
    • required

      boolean required()
      Returns:
      If true indicates that the user must specify a value for the input before the owning form can be submitted.