Trait

japgolly.scalajs.react.vdom

HtmlAttrs

Related Doc: package vdom

Permalink

trait HtmlAttrs extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HtmlAttrs
  2. AnyRef
  3. 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. final val accept: Attr

    Permalink

    If the value of the type attribute is file, this attribute indicates the types of files that the server accepts; otherwise it is ignored.

    If the value of the type attribute is file, this attribute indicates the types of files that the server accepts; otherwise it is ignored.

    MDN

  5. final val action: Attr

    Permalink

    The URI of a program that processes the information submitted via the form.

    The URI of a program that processes the information submitted via the form. This value can be overridden by a formaction attribute on a button or input element.

    MDN

  6. final val alt: Attr

    Permalink

    This attribute defines the alternative text describing the image.

    This attribute defines the alternative text describing the image. Users will see this displayed if the image URL is wrong, the image is not in one of the supported formats, or until the image is downloaded.

    MDN

  7. object aria

    Permalink

    ARIA is a set of special accessibility attributes which can be added to any markup, but is especially suited to HTML.

    ARIA is a set of special accessibility attributes which can be added to any markup, but is especially suited to HTML. The role attribute defines what the general type of object is (such as an article, alert, or slider). Additional ARIA attributes provide other useful properties, such as a description for a form or the current value of a progressbar.

    MDN

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. final val autoComplete: Attr

    Permalink

    This attribute indicates whether the value of the control can be automatically completed by the browser.

    This attribute indicates whether the value of the control can be automatically completed by the browser. This attribute is ignored if the value of the type attribute is hidden, checkbox, radio, file, or a button type (button, submit, reset, image).

    Possible values are "off" and "on"

    MDN

  10. final val autoFocus: Attr

    Permalink

    This Boolean attribute lets you specify that a form control should have input focus when the page loads, unless the user overrides it, for example by typing in a different control.

    This Boolean attribute lets you specify that a form control should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form element in a document can have the autoFocus attribute, which is a Boolean. It cannot be applied if the type attribute is set to hidden (that is, you cannot automatically set focus to a hidden control).

    MDN

  11. final val autoSave: Attr

    Permalink
  12. final val capture: Attr

    Permalink

    The capture attribute allows authors to declaratively request use of a media capture mechanism, such as a camera or microphone, from within a file upload control, for capturing media on the spot.

  13. final val challenge: Attr

    Permalink

    <keygen>: A challenge string that is submitted along with the public key.

  14. final val charset: Attr

    Permalink

    Declares the character encoding of the page or script.

    Declares the character encoding of the page or script. Used on meta and script elements.

    MDN

  15. final val checked: Attr

    Permalink

    When the value of the type attribute is radio or checkbox, the presence of this Boolean attribute indicates that the control is selected by default; otherwise it is ignored.

    When the value of the type attribute is radio or checkbox, the presence of this Boolean attribute indicates that the control is selected by default; otherwise it is ignored.

    MDN

  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final val cols: Attr

    Permalink

    The visible width of the text control, in average character widths.

    The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is 20 (HTML5).

    MDN

  18. final val contentAttr: Attr

    Permalink

    This attribute gives the value associated with the http-equiv or name attribute, depending of the context.

    This attribute gives the value associated with the http-equiv or name attribute, depending of the context.

    MDN

  19. final val disabled: Attr

    Permalink

    This Boolean attribute indicates that the form control is not available for interaction.

    This Boolean attribute indicates that the form control is not available for interaction. In particular, the click event will not be dispatched on disabled controls. Also, a disabled control's value isn't submitted with the form.

    This attribute is ignored if the value of the type attribute is hidden.

    MDN

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final val for: Attr

    Permalink

    Describes elements which belongs to this one.

    Describes elements which belongs to this one. Used on labels and output elements.

    MDN

  24. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. final val high: Attr

    Permalink

    For use in <meter> tags.

    For use in <meter> tags.

    See also

    https://css-tricks.com/html5-meter-element/

  27. final val href: Attr

    Permalink

    This is the single required attribute for anchors defining a hypertext source link.

    This is the single required attribute for anchors defining a hypertext source link. It indicates the link target, either a URL or a URL fragment. A URL fragment is a name preceded by a hash mark (#), which specifies an internal target location (an ID) within the current document. URLs are not restricted to Web (HTTP)-based documents. URLs might use any protocol supported by the browser. For example, file, ftp, and mailto work in most user agents.

    MDN

  28. final val httpEquiv: Attr

    Permalink

    This enumerated attribute defines the pragma that can alter servers and user-agents behavior.

    This enumerated attribute defines the pragma that can alter servers and user-agents behavior. The value of the pragma is defined using the content attribute and can be one of the following:

    • content-language
    • content-type
    • default-style
    • refresh
    • set-cookie

    MDN

  29. final val id: Attr

    Permalink

    This attribute defines a unique identifier (ID) which must be unique in the whole document.

    This attribute defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS).

    MDN

  30. final val inputMode: Attr

    Permalink

    The inputmode attribute tells the browser on devices with dynamic keyboards which keyboard to display.

    The inputmode attribute tells the browser on devices with dynamic keyboards which keyboard to display. The inputmode attribute applies to the text, search and password input types as well as <textarea>.

  31. final val is: Attr

    Permalink
  32. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  33. final val keyParams: Attr

    Permalink

    For use in <keygen>

  34. final val keyType: Attr

    Permalink

    <keygen>: Specifies the type of key generated.

  35. final val lang: Attr

    Permalink

    This attribute participates in defining the language of the element, the language that non-editable elements are written in or the language that editable elements should be written in.

    This attribute participates in defining the language of the element, the language that non-editable elements are written in or the language that editable elements should be written in. The tag contains one single entry value in the format defines in the Tags for Identifying Languages (BCP47) IETF document. If the tag content is the empty string the language is set to unknown; if the tag content is not valid, regarding to BCP47, it is set to invalid.

    MDN

  36. final val low: Attr

    Permalink

    For use in <meter> tags.

    For use in <meter> tags.

    See also

    https://css-tricks.com/html5-meter-element/

  37. final val max: Attr

    Permalink

    For use in <meter> tags.

    For use in <meter> tags.

    See also

    https://css-tricks.com/html5-meter-element/

  38. final val media: Attr

    Permalink

    This attribute specifies the media which the linked resource applies to.

    This attribute specifies the media which the linked resource applies to. Its value must be a media query. This attribute is mainly useful when linking to external stylesheets by allowing the user agent to pick the best adapted one for the device it runs on.

    See also

    https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-media

  39. final val method: Attr

    Permalink

    The HTTP method that the browser uses to submit the form.

    The HTTP method that the browser uses to submit the form. Possible values are:

    - post: Corresponds to the HTTP POST method ; form data are included in the body of the form and sent to the server.

    - get: Corresponds to the HTTP GET method; form data are appended to the action attribute URI with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.

    This value can be overridden by a formmethod attribute on a button or input element.

    MDN

  40. final val min: Attr

    Permalink

    For use in <meter> tags.

    For use in <meter> tags.

    See also

    https://css-tricks.com/html5-meter-element/

  41. final val minLength: Attr

    Permalink
  42. final val name: Attr

    Permalink

    On form elements (input etc.): Name of the element.

    On form elements (input etc.): Name of the element. For example used by the server to identify the fields in form submits.

    On the meta tag: This attribute defines the name of a document-level metadata. This document-level metadata name is associated with a value, contained by the content attribute.

    MDN

  43. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  46. final val onAbort: Attr

    Permalink
  47. final val onBlur: Attr

    Permalink

    The blur event is raised when an element loses focus.

    The blur event is raised when an element loses focus.

    MDN

  48. final val onCanPlay: Attr

    Permalink
  49. final val onCanPlayThrough: Attr

    Permalink
  50. final val onChange: Attr

    Permalink

    The change event is fired for input, select, and textarea elements when a change to the element's value is committed by the user.

    The change event is fired for input, select, and textarea elements when a change to the element's value is committed by the user.

    MDN

  51. final val onClick: Attr

    Permalink

    The click event is raised when the user clicks on an element.

    The click event is raised when the user clicks on an element. The click event will occur after the mousedown and mouseup events.

    MDN

  52. final val onDblClick: Attr

    Permalink

    The dblclick event is fired when a pointing device button (usually a mouse button) is clicked twice on a single element.

    The dblclick event is fired when a pointing device button (usually a mouse button) is clicked twice on a single element.

    MDN

  53. final def onDoubleClick: Attr

    Permalink

    React alias for onDblClick

  54. final val onDurationChange: Attr

    Permalink
  55. final val onEmptied: Attr

    Permalink
  56. final val onEncrypted: Attr

    Permalink
  57. final val onEnded: Attr

    Permalink
  58. final val onError: Attr

    Permalink

    Type: script code

    Type: script code

    This event is sent to an image element when an error occurs loading the image.

    https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/image#a-onerror

  59. final val onFocus: Attr

    Permalink

    The focus event is raised when the user sets focus on the given element.

    The focus event is raised when the user sets focus on the given element.

    MDN

  60. final val onKeyDown: Attr

    Permalink

    The keydown event is raised when the user presses a keyboard key.

    The keydown event is raised when the user presses a keyboard key.

    MDN

  61. final val onKeyPress: Attr

    Permalink

    The keypress event should be raised when the user presses a key on the keyboard.

    The keypress event should be raised when the user presses a key on the keyboard. However, not all browsers fire keypress events for certain keys.

    Webkit-based browsers (Google Chrome and Safari, for example) do not fire keypress events on the arrow keys. Firefox does not fire keypress events on modifier keys like SHIFT.

    MDN

  62. final val onKeyUp: Attr

    Permalink

    The keyup event is raised when the user releases a key that's been pressed.

    The keyup event is raised when the user releases a key that's been pressed.

    MDN

  63. final val onLoad: Attr

    Permalink

    The load event fires at the end of the document loading process.

    The load event fires at the end of the document loading process. At this point, all of the objects in the document are in the DOM, and all the images and sub-frames have finished loading.

    MDN

  64. final val onLoadStart: Attr

    Permalink
  65. final val onLoadedData: Attr

    Permalink
  66. final val onLoadedMetadata: Attr

    Permalink
  67. final val onMouseDown: Attr

    Permalink

    The mousedown event is raised when the user presses the mouse button.

    The mousedown event is raised when the user presses the mouse button.

    MDN

  68. final val onMouseEnter: Attr

    Permalink

    The mouseenter event is fired when a pointing device (usually a mouse) is moved over the element that has the listener attached.

    The mouseenter event is fired when a pointing device (usually a mouse) is moved over the element that has the listener attached.

    MDN

  69. final val onMouseLeave: Attr

    Permalink

    The mouseleave event is fired when a pointing device (usually a mouse) is moved off the element that has the listener attached.

    The mouseleave event is fired when a pointing device (usually a mouse) is moved off the element that has the listener attached.

    MDN

  70. final val onMouseMove: Attr

    Permalink

    The mousemove event is raised when the user moves the mouse.

    The mousemove event is raised when the user moves the mouse.

    MDN

  71. final val onMouseOut: Attr

    Permalink

    The mouseout event is raised when the mouse leaves an element (e.g, when the mouse moves off of an image in the web page, the mouseout event is raised for that image element).

    The mouseout event is raised when the mouse leaves an element (e.g, when the mouse moves off of an image in the web page, the mouseout event is raised for that image element).

    MDN

  72. final val onMouseOver: Attr

    Permalink

    The mouseover event is raised when the user moves the mouse over a particular element.

    The mouseover event is raised when the user moves the mouse over a particular element.

    MDN

  73. final val onMouseUp: Attr

    Permalink

    The mouseup event is raised when the user releases the mouse button.

    The mouseup event is raised when the user releases the mouse button.

    MDN

  74. final val onPause: Attr

    Permalink
  75. final val onPlay: Attr

    Permalink
  76. final val onPlaying: Attr

    Permalink
  77. final val onProgress: Attr

    Permalink
  78. final val onRateChange: Attr

    Permalink
  79. final val onReset: Attr

    Permalink

    The reset event is fired when a form is reset.

    The reset event is fired when a form is reset.

    MDN

  80. final val onScroll: Attr

    Permalink

    Specifies the function to be called when the window is scrolled.

    Specifies the function to be called when the window is scrolled.

    MDN

  81. final val onSeeked: Attr

    Permalink
  82. final val onSeeking: Attr

    Permalink
  83. final val onSelect: Attr

    Permalink

    The select event only fires when text inside a text input or textarea is selected.

    The select event only fires when text inside a text input or textarea is selected. The event is fired after the text has been selected.

    MDN

  84. final val onStalled: Attr

    Permalink
  85. final val onSubmit: Attr

    Permalink

    The submit event is raised when the user clicks a submit button in a form (). MDN

    The submit event is raised when the user clicks a submit button in a form (). MDN

  86. final val onSuspend: Attr

    Permalink
  87. final val onTimeUpdate: Attr

    Permalink
  88. final val onTouchCancel: Attr

    Permalink

    Event indicating that the touch point has been canceled or disrupted.

    Event indicating that the touch point has been canceled or disrupted.

    For example, when popup menu is shown.

    See also

    japgolly.scalajs.react.ReactTouchEvent

  89. final val onTouchEnd: Attr

    Permalink

    Event indicating that the touch point does not exist any more.

    Event indicating that the touch point does not exist any more.

    For example, whn you release your finger.

    See also

    japgolly.scalajs.react.ReactTouchEvent

  90. final val onTouchMove: Attr

    Permalink

    Event indicating that the touch point has moved along the plane.

    Event indicating that the touch point has moved along the plane.

    See also

    japgolly.scalajs.react.ReactTouchEvent

  91. final val onTouchStart: Attr

    Permalink

    Event indicating that the user has touched the plane.

    Event indicating that the user has touched the plane.

    See also

    japgolly.scalajs.react.ReactTouchEvent

  92. final val onVolumeChange: Attr

    Permalink
  93. final val onWaiting: Attr

    Permalink
  94. final val optimum: Attr

    Permalink

    For use in <meter> tags.

    For use in <meter> tags.

    See also

    https://css-tricks.com/html5-meter-element/

  95. final val placeholder: Attr

    Permalink

    A hint to the user of what can be entered in the control.

    A hint to the user of what can be entered in the control. The placeholder text must not contain carriage returns or line-feeds. This attribute applies when the value of the type attribute is text, search, tel, url or email; otherwise it is ignored.

    MDN

  96. final val readOnly: Attr

    Permalink

    This Boolean attribute indicates that the user cannot modify the value of the control.

    This Boolean attribute indicates that the user cannot modify the value of the control. This attribute is ignored if the value of the type attribute is hidden, range, color, checkbox, radio, file, or a button type.

    MDN

  97. final val rel: Attr

    Permalink

    This attribute names a relationship of the linked document to the current document.

    This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the link types values. The most common use of this attribute is to specify a link to an external style sheet: the rel attribute is set to stylesheet, and the href attribute is set to the URL of an external style sheet to format the page.

    MDN

  98. final val required: Attr

    Permalink

    This attribute specifies that the user must fill in a value before submitting a form.

    This attribute specifies that the user must fill in a value before submitting a form. It cannot be used when the type attribute is hidden, image, or a button type (submit, reset, or button). The :optional and :required CSS pseudo-classes will be applied to the field as appropriate.

    MDN

  99. final val results: Attr

    Permalink
  100. final val role: Attr

    Permalink

    The attribute describes the role(s) the current element plays in the context of the document.

    The attribute describes the role(s) the current element plays in the context of the document. This can be used, for example, by applications and assistive technologies to determine the purpose of an element. This could allow a user to make informed decisions on which actions may be taken on an element and activate the selected action in a device independent way. It could also be used as a mechanism for annotating portions of a document in a domain specific way (e.g., a legal term taxonomy). Although the role attribute may be used to add semantics to an element, authors should use elements with inherent semantics, such as p, rather than layering semantics on semantically neutral elements, such as div role="paragraph".

    See also

    http://www.w3.org/TR/role-attribute/#s_role_module_attributes

  101. final val rows: Attr

    Permalink

    The number of visible text lines for the control.

    The number of visible text lines for the control.

    MDN

  102. final val scoped: Attr

    Permalink

    For use in <style> tags.

    For use in <style> tags.

    If this attribute is present, then the style applies only to its parent element. If absent, the style applies to the whole document.

  103. final val security: Attr

    Permalink
  104. final val size: Attr

    Permalink

    The initial size of the control.

    The initial size of the control. This value is in pixels unless the value of the type attribute is text or password, in which case, it is an integer number of characters. Starting in HTML5, this attribute applies only when the type attribute is set to text, search, tel, url, email, or password; otherwise it is ignored. In addition, the size must be greater than zero. If you don't specify a size, a default value of 20 is used.

    MDN

  105. final val spellCheck: Attr

    Permalink

    This enumerated attribute defines whether the element may be checked for spelling errors.

    This enumerated attribute defines whether the element may be checked for spelling errors.

    MDN

  106. final val src: Attr

    Permalink

    If the value of the type attribute is image, this attribute specifies a URI for the location of an image to display on the graphical submit button; otherwise it is ignored.

    If the value of the type attribute is image, this attribute specifies a URI for the location of an image to display on the graphical submit button; otherwise it is ignored.

    MDN

  107. final val style: Attr

    Permalink

    This attribute contains CSS styling declarations to be applied to the element.

    This attribute contains CSS styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the style element have mainly the purpose of allowing for quick styling, for example for testing purposes.

    MDN

  108. final val summaryAttr: Attr

    Permalink

    The value is actually just summary.

    The value is actually just summary. This is named summaryAttr in Scala to avoid a conflict with the <summary> tag in all.

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

    Permalink
    Definition Classes
    AnyRef
  110. final val tabIndex: Attr

    Permalink

    This integer attribute indicates if the element can take input focus (is focusable), if it should participate to sequential keyboard navigation, and if so, at what position.

    This integer attribute indicates if the element can take input focus (is focusable), if it should participate to sequential keyboard navigation, and if so, at what position. It can takes several values:

    - a negative value means that the element should be focusable, but should not be reachable via sequential keyboard navigation; - 0 means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention; - a positive value which means should be focusable and reachable via sequential keyboard navigation; its relative order is defined by the value of the attribute: the sequential follow the increasing number of the tabIndex. If several elements share the same tabIndex, their relative order follows their relative position in the document).

    An element with a 0 value, an invalid value, or no tabIndex value should be placed after elements with a positive tabIndex in the sequential keyboard navigation order.

  111. final val target: Attr

    Permalink

    A name or keyword indicating where to display the response that is received after submitting the form.

    A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name of, or a keyword for, a frame. In HTML5, it is a name of, or keyword for, a browsing context (for example, tab, window, or inline frame). The following keywords have special meanings:

    - _self: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified. - _blank: Load the response into a new unnamed HTML 4 window or HTML5 browsing context. - _parent: Load the response into the HTML 4 frameset parent of the current frame or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as _self. - _top: HTML 4: Load the response into the full, original window, canceling all other frames. HTML5: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as _self. - iframename: The response is displayed in a named iframe.

  112. final val title: Attr

    Permalink

    This attribute contains a text representing advisory information related to the element it belongs too.

    This attribute contains a text representing advisory information related to the element it belongs too. Such information can typically, but not necessarily, be presented to the user as a tooltip.

    MDN

  113. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  114. final val tpe: Attr

    Permalink

    Shorthand for the type attribute

  115. final val type: Attr

    Permalink

    This attribute is used to define the type of the content linked to.

    This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as text/html, text/css, and so on. The common use of this attribute is to define the type of style sheet linked and the most common current value is text/css, which indicates a Cascading Style Sheet format. You can use tpe as an alias for this attribute so you don't have to backtick-escape this attribute.

    MDN

  116. final val unselectable: Attr

    Permalink

    IE-specific property to prevent user selection

  117. final val value: Attr

    Permalink

    The initial value of the control.

    The initial value of the control. This attribute is optional except when the value of the type attribute is radio or checkbox.

    MDN

  118. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  121. final val wrap: Attr

    Permalink

    <textarea>: Indicates whether the text should be wrapped.

  122. final val xmlns: Attr

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped