Object

japgolly.scalajs.react.vdom.HtmlTags

input

Related Doc: package HtmlTags

Permalink

object input extends TagOf[Input]

The HTML element <input> is used to create interactive controls for web-based forms in order to accept data from the user. How an <input> works varies considerably depending on the value of its type attribute.

Linear Supertypes
TagOf[Input], TagMod, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. input
  2. TagOf
  3. TagMod
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(xs: TagMod*): TagOf[Input]

    Permalink
    Definition Classes
    TagOfTagMod
  5. def applyTo(b: Builder): Unit

    Permalink

    Applies this modifier to the specified Builder, such that when rendering is complete the effect of adding this modifier can be seen.

    Applies this modifier to the specified Builder, such that when rendering is complete the effect of adding this modifier can be seen.

    Definition Classes
    TagOfTagMod
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def button: TagOf[Input]

    Permalink

    A push button with no default behavior.

  8. val checkbox: TagOf[Input]

    Permalink

    A check box.

    A check box. You must use the value attribute to define the value submitted by this item. Use the checked attribute to indicate whether this item is selected. You can also use the indeterminate attribute to indicate that the checkbox is in an indeterminate state (on most platforms, this draws a horizontal line across the checkbox).

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def color: TagOf[Input]

    Permalink

    [HTML5] A control for specifying a color.

    [HTML5] A control for specifying a color. A color picker's UI has no required features other than accepting simple colors as text (more info).

  11. def copy(tag: String = this.tag, modifiers: List[Seq[TagMod]] = this.modifiers, namespace: Namespace = this.namespace): TagOf[Input]

    Permalink
    Attributes
    protected
    Definition Classes
    TagOf
  12. def date: TagOf[Input]

    Permalink

    [HTML5] A control for entering a date (year, month, and day, with no time).

  13. def datetime: TagOf[Input]

    Permalink

    [HTML5] A control for entering a date and time (hour, minute, second, and fraction of a second) based on UTC time zone.

  14. def datetimeLocal: TagOf[Input]

    Permalink

    [HTML5] A control for entering a date and time, with no time zone.

  15. def email: TagOf[Input]

    Permalink

    [HTML5] A field for editing an e-mail address.

    [HTML5] A field for editing an e-mail address. The input value is validated to contain either the empty string or a single valid e-mail address before submitting. The :valid and :invalid CSS pseudo-classes are applied as appropriate.

  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def file: TagOf[Input]

    Permalink

    A control that lets the user select a file.

    A control that lets the user select a file. Use the accept attribute to define the types of files that the control can select.

  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hidden: TagOf[Input]

    Permalink

    A control that is not displayed, but whose value is submitted to the server.

  23. def image: TagOf[Input]

    Permalink

    A graphical submit button.

    A graphical submit button. You must use the src attribute to define the source of the image and the alt attribute to define alternative text. You can use the height and width attributes to define the size of the image in pixels.

  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. final val modifiers: List[Seq[TagMod]]

    Permalink
    Attributes
    protected
    Definition Classes
    TagOf
  26. def month: TagOf[Input]

    Permalink

    [HTML5] A control for entering a month and year, with no time zone.

  27. final val namespace: Namespace

    Permalink
    Definition Classes
    TagOf
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def number: TagOf[Input]

    Permalink

    [HTML5] A control for entering a floating point number.

  32. def password: TagOf[Input]

    Permalink

    A single-line text field whose value is obscured.

    A single-line text field whose value is obscured. Use the maxlength attribute to specify the maximum length of the value that can be entered.

  33. def radio: TagOf[Input]

    Permalink

    A radio button.

    A radio button. You must use the value attribute to define the value submitted by this item. Use the checked attribute to indicate whether this item is selected by default. Radio buttons that have the same value for the name attribute are in the same "radio button group"; only one radio button in a group can be selected at a time.

  34. def range: TagOf[Input]

    Permalink

    [HTML5] A control for entering a number whose exact value is not important.

    [HTML5] A control for entering a number whose exact value is not important. This type control uses the following default values if the corresponding attributes are not specified:

  35. def ref(f: (Input) ⇒ Unit): TagOf[Input]

    Permalink
    Definition Classes
    TagOf
  36. lazy val render: VdomElement

    Permalink
    Definition Classes
    TagOf
  37. def reset: TagOf[Input]

    Permalink

    A button that resets the contents of the form to default values.

  38. def search: TagOf[Input]

    Permalink

    [HTML5] A single-line text field for entering search strings; line-breaks are automatically removed from the input value.

  39. def submit: TagOf[Input]

    Permalink

    A button that submits the form.

  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. final val tag: String

    Permalink
    Definition Classes
    TagOf
  42. def tel: TagOf[Input]

    Permalink

    [HTML5] A control for entering a telephone number; line-breaks are automatically removed from the input value, but no other syntax is enforced.

    [HTML5] A control for entering a telephone number; line-breaks are automatically removed from the input value, but no other syntax is enforced. You can use attributes such as pattern and maxlength to restrict values entered in the control. The :valid and :invalid CSS pseudo-classes are applied as appropriate.

  43. val text: TagOf[Input]

    Permalink

    A single-line text field; line-breaks are automatically removed from the input value.

  44. def time: TagOf[Input]

    Permalink

    [HTML5] A control for entering a time value with no time zone.

  45. def toString(): String

    Permalink
    Definition Classes
    TagOf → AnyRef → Any
  46. final def unless(condition: Boolean): TagMod

    Permalink
    Definition Classes
    TagMod
  47. def url: TagOf[Input]

    Permalink

    [HTML5] A field for editing a URL.

    [HTML5] A field for editing a URL. The input value is validated to contain either the empty string or a valid absolute URL before submitting. Line-breaks and leading or trailing whitespace are automatically removed from the input value. You can use attributes such as pattern and maxlength to restrict values entered in the control. The :valid and :invalid CSS pseudo-classes are applied as appropriate.

  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def week: TagOf[Input]

    Permalink

    [HTML5] A control for entering a date consisting of a week-year number and a week number with no time zone.

  52. final def when(condition: Boolean): TagMod

    Permalink
    Definition Classes
    TagMod
  53. def withType(t: String): TagOf[Input]

    Permalink

    Returns a <input type="{t}" />

Inherited from TagOf[Input]

Inherited from TagMod

Inherited from AnyRef

Inherited from Any

Ungrouped