Interface HTMLInputElementMethods<E extends HTMLInputElement, B extends TypedBuilder<E,B>>

All Superinterfaces:
IsElement<E>, TypedBuilder<E,B>
All Known Implementing Classes:
HTMLInputElementBuilder

public interface HTMLInputElementMethods<E extends HTMLInputElement, B extends TypedBuilder<E,B>> extends TypedBuilder<E,B>, IsElement<E>
Provides methods and default implementations for modifying the attributes of an HTML input element.
  • Method Summary

    Modifier and Type
    Method
    Description
    default B
    accept(String accept)
    Modifies the accept attribute.
    default B
    autocomplete(String autocomplete)
    Modifies the autocomplete attribute.
    default B
    autofocus(boolean autofocus)
    Modifies the autofocus flag.
    default B
    checked(boolean checked)
    Modifies the checked flag.
    default B
    defaultValue(String defaultValue)
    Modifies the disabled flag.
    default B
    disabled(boolean disabled)
    Modifies the disabled flag.
    default B
    indeterminate(boolean indeterminate)
    Modifies the indeterminate flag.
    default B
    max(int max)
    Modifies the max attribute.
    default B
    max(String max)
    Modifies the max attribute.
    default B
    min(int min)
    Modifies the min attribute.
    default B
    min(String min)
    Modifies the min attribute.
    default B
    multiple(boolean multiple)
    Modifies the multiple attribute.
    default B
    name(String name)
    Modifies the name attribute.
    default B
    placeholder(String placeholder)
    Modifies the placeholder text.
    default B
    readOnly(boolean readOnly)
    Modifies the readOnly flag.
    default B
    required(boolean required)
    Modifies the required flag.
    default B
    tabIndex(int tabIndex)
    Modifies the tabIndex number.
    default B
    value(String value)
    Modifies the value.

    Methods inherited from interface IsElement

    element

    Methods inherited from interface TypedBuilder

    that
  • Method Details

    • accept

      default B accept(String accept)
      Modifies the accept attribute.
    • autofocus

      default B autofocus(boolean autofocus)
      Modifies the autofocus flag.
    • autocomplete

      default B autocomplete(String autocomplete)
      Modifies the autocomplete attribute.
    • checked

      default B checked(boolean checked)
      Modifies the checked flag.
    • defaultValue

      default B defaultValue(String defaultValue)
      Modifies the disabled flag.
    • disabled

      default B disabled(boolean disabled)
      Modifies the disabled flag.
    • indeterminate

      default B indeterminate(boolean indeterminate)
      Modifies the indeterminate flag.
    • max

      default B max(int max)
      Modifies the max attribute.
    • max

      default B max(String max)
      Modifies the max attribute.
    • min

      default B min(int min)
      Modifies the min attribute.
    • min

      default B min(String min)
      Modifies the min attribute.
    • multiple

      default B multiple(boolean multiple)
      Modifies the multiple attribute.
    • name

      default B name(String name)
      Modifies the name attribute.
    • placeholder

      default B placeholder(String placeholder)
      Modifies the placeholder text.
    • readOnly

      default B readOnly(boolean readOnly)
      Modifies the readOnly flag.
    • required

      default B required(boolean required)
      Modifies the required flag.
    • tabIndex

      default B tabIndex(int tabIndex)
      Modifies the tabIndex number.
    • value

      default B value(String value)
      Modifies the value.