HtmlAttrs
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait Laminar
Members list
Value members
Concrete methods
Create HTML attribute (Note: for SVG attrs, use L.svg.svgAttr)
Create HTML attribute (Note: for SVG attrs, use L.svg.svgAttr)
Type parameters
- V
-
- value type for this attr in Scala
Value parameters
- codec
-
- used to encode V into String, e.g. StringAsIsCodec
- name
-
- name of the attribute, e.g. "value"
Attributes
Concrete fields
This attribute has several meanings depending on what element it's applied to. It could indicate the type of a button, an input, a script, a stylesheet, etc.
This attribute has several meanings depending on what element it's applied to. It could indicate the type of a button, an input, a script, a stylesheet, etc.
Attributes
Declares the character encoding of the page or script. Used on meta and script elements.
Declares the character encoding of the page or script. Used on meta and script elements.
Attributes
Indicates whether the element should be editable by the user. If so, the browser modifies its widget to allow editing.
Indicates whether the element should be editable by the user. If so, the browser modifies its widget to allow editing.
Attributes
Specifies a context menu for an element by its element id. The context menu appears when a user right-clicks on the element
Specifies a context menu for an element by its element id. The context menu appears when a user right-clicks on the element
Attributes
Specifies whether the dragged data is copied, moved, or linked, when dropped Acceptable values: copy
| move
| link
Specifies whether the dragged data is copied, moved, or linked, when dropped Acceptable values: copy
| move
| link
Attributes
The formaction
attribute provides the URL that will process the input control when the form is submitted and overrides the default action
attribute of the form
element. This should be used only with input
elements of type
submit or image.
The formaction
attribute provides the URL that will process the input control when the form is submitted and overrides the default action
attribute of the form
element. This should be used only with input
elements of type
submit or image.
Attributes
The form attribute specifies an ID of the form an <input>
element belongs to.
The form attribute specifies an ID of the form an <input>
element belongs to.
Attributes
The height
attribute specifies the pixel height of the following elements: <canvas>, <embed>, <iframe>, <img>, <input type="image">, <object>, <video>
The height
attribute specifies the pixel height of the following elements: <canvas>, <embed>, <iframe>, <img>, <input type="image">, <object>, <video>
Attributes
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.
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.
Attributes
Identifies a list of pre-defined options to suggest to the user. The value must be the id of a FormTags.dataList element in the same document. The browser displays only options that are valid values for this input element. This attribute is ignored when the type attribute's value is hidden, checkbox, radio, file, or a button type.
Identifies a list of pre-defined options to suggest to the user. The value must be the id of a FormTags.dataList element in the same document. The browser displays only options that are valid values for this input element. This attribute is ignored when the type attribute's value is hidden, checkbox, radio, file, or a button type.
Attributes
The max attribute specifies the maximum value for an <input>
element of type number, range, date, datetime, datetime-local, month, time, or week.
The max attribute specifies the maximum value for an <input>
element of type number, range, date, datetime, datetime-local, month, time, or week.
Attributes
The min attribute specifies the minimum value for an <input>
element of type number, range, date, datetime, datetime-local, month, time, or week.
The min attribute specifies the minimum value for an <input>
element of type number, range, date, datetime, datetime-local, month, time, or week.
Attributes
Specifies the URL of an image for <img>
tag, for type="image"
input buttons, or the URL of some other network resources like <iframe>
.
Specifies the URL of an image for <img>
tag, for type="image"
input buttons, or the URL of some other network resources like <iframe>
.
Attributes
The step attribute specifies the numeric intervals for an <input>
element that should be considered legal for the input. For example, if step is 2 on a number typed <input>
then the legal numbers could be -2, 0, 2, 4, 6 etc. The step attribute should be used in conjunction with the min and max attributes to specify the full range and interval of the legal values. The step attribute is applicable to <input>
elements of the following types: number, range, date, datetime, datetime-local, month, time and week.
The step attribute specifies the numeric intervals for an <input>
element that should be considered legal for the input. For example, if step is 2 on a number typed <input>
then the legal numbers could be -2, 0, 2, 4, 6 etc. The step attribute should be used in conjunction with the min and max attributes to specify the full range and interval of the legal values. The step attribute is applicable to <input>
elements of the following types: number, range, date, datetime, datetime-local, month, time and week.
Attributes
IE-specific property to prevent user selection
IE-specific property to prevent user selection
Attributes
The width
attribute specifies the pixel width of the following elements: <canvas>, <embed>, <iframe>, <img>, <input type="image">, <object>, <video>
The width
attribute specifies the pixel width of the following elements: <canvas>, <embed>, <iframe>, <img>, <input type="image">, <object>, <video>