Trait

outwatch.dom

MiscellaneousAttributes

Related Doc: package dom

Permalink

trait MiscellaneousAttributes extends AnyRef

Miscellaneous attributes that are applicable to one or more elements.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MiscellaneousAttributes
  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. lazy val align: AttributeBuilder[Any]

    Permalink

    Specifies the horizontal alignment of the element.

    Specifies the horizontal alignment of the element. Mostly obsolete since HTML5

    MDN

  5. lazy val alt: AttributeBuilder[String]

    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

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. lazy val charset: AttributeBuilder[Any]

    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

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. lazy val content: AttributeBuilder[String]

    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

  10. lazy val coords: AttributeBuilder[Any]

    Permalink

    A set of values specifying the coordinates of the hot-spot region.

    A set of values specifying the coordinates of the hot-spot region. The number and meaning of the values depend upon the value specified for the shape attribute. For a rect or rectangle shape, the coords value is two x,y pairs: left, top, right, and bottom. For a circle shape, the value is x,y,r where x,y is a pair specifying the center of the circle and r is a value for the radius. For a poly or polygon shape, the value is a set of x,y pairs for each point in the polygon: x1,y1,x2,y2,x3,y3, and so on. In HTML4, the values are numbers of pixels or percentages, if a percent sign (%) is appended; in HTML5, the values are numbers of CSS pixels.

    MDN

  11. lazy val datetime: AttributeBuilder[Any]

    Permalink

    This attribute indicates the time and date of the element and must be a valid date with an optional time string.

    This attribute indicates the time and date of the element and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp.

    MDN

  12. lazy val disabled: BoolAttributeBuilder

    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

  13. lazy val download: AttributeBuilder[Any]

    Permalink

    This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file.

    This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though / and \ are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.

    MDN HTML5

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. lazy val height: AttributeBuilder[Double]

    Permalink

    The height attribute specifies the height of an input element of type "image".

  20. lazy val high: AttributeBuilder[Any]

    Permalink

    For use in <meter> tags.

    For use in <meter> tags.

    See also

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

  21. lazy val href: AttributeBuilder[String]

    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

  22. lazy val httpEquiv: AttributeBuilder[String]

    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

  23. lazy val icon: AttributeBuilder[Any]

    Permalink

    Image URL, used to provide a picture to represent the command represented by a <menuitem>.

    Image URL, used to provide a picture to represent the command represented by a <menuitem>.

    MDN

  24. lazy val integrity: AttributeBuilder[Any]

    Permalink

    Contains inline metadata, a base64-encoded cryptographic hash of a resource (file) you’re telling the browser to fetch, that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation.

    Contains inline metadata, a base64-encoded cryptographic hash of a resource (file) you’re telling the browser to fetch, that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation.

    See also

    https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity MDN

  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. lazy val ismap: BoolAttributeBuilder

    Permalink

    This Boolean attribute indicates that the image is part of a server-side map.

    This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.

    Note: This attribute is allowed only if the <img> element is a descendant of an <a> element with a valid href attribute.

    MDN

  27. lazy val low: AttributeBuilder[Double]

    Permalink

    For use in <meter> tags.

    For use in <meter> tags.

    See also

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

  28. lazy val media: AttributeBuilder[Any]

    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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  32. lazy val open: BoolAttributeBuilder

    Permalink

    This Boolean attribute indicates whether the details will be shown to the user on page load.

    This Boolean attribute indicates whether the details will be shown to the user on page load. Default is false and so details will be hidden.

    MDN

  33. lazy val optimum: AttributeBuilder[Double]

    Permalink

    For use in <meter> tags.

    For use in <meter> tags.

    See also

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

  34. lazy val radiogroup: AttributeBuilder[Any]

    Permalink

    This attribute specifies the name of a group of commands to be toggled as radio buttons when selected.

    This attribute specifies the name of a group of commands to be toggled as radio buttons when selected. May only be used where the type attribute is radio.

    MDN

  35. lazy val rel: AttributeBuilder[Any]

    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

  36. lazy val reversed: AttributeBuilder[Any]

    Permalink

    This Boolean attribute specifies that the items of the list are specified in reversed order.

    This Boolean attribute specifies that the items of the list are specified in reversed order.

    MDN HTML5

  37. lazy val role: AttributeBuilder[String]

    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: http://www.w3.org/TR/role-attribute/#s_role_module_attributes

  38. lazy val scoped: AttributeBuilder[Any]

    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.

  39. lazy val shape: AttributeBuilder[Any]

    Permalink

    This attribute was used to define a region for hyperlinks to create an image map.

    This attribute was used to define a region for hyperlinks to create an image map. The values are circle, default, polygon, and rect. The format of the coords attribute depends on the value of shape. For circle, the value is x,y,r where x and y are the pixel coordinates for the center of the circle and r is the radius value in pixels. For rect, the coords attribute should be x,y,w,h. The x,y values define the upper-left-hand corner of the rectangle, while w and h define the width and height respectively. A value of polygon for shape requires x1,y1,x2,y2,... values for coords. Each of the x,y pairs defines a point in the polygon, with successive points being joined by straight lines and the last point joined to the first. The value default for shape requires that the entire enclosed area, typically an image, be used.

    MDN HTML4 ONLY

  40. lazy val sizes: AttributeBuilder[Any]

    Permalink

    This attribute defines the sizes of the icons for visual media contained in the resource.

    This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the rel contains the icon link types value. It may have the following values:

    any, meaning that the icon can be scaled to any size as it is in a vectorial format, like image/svg+xml.

    a white-space separated list of sizes, each in the format <width in pixels>x<height in pixels> or <width in pixels>X<height in pixels>. Each of these sizes must be contained in the resource.

    MDN

  41. lazy val src: AttributeBuilder[Any]

    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

  42. lazy val srcset: AttributeBuilder[Any]

    Permalink

    A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use.

    A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use. Each string is composed of:

    1. a URL to an image

    2. optionally, whitespace followed by one of:

    a width descriptor, or a positive integer directly followed by 'w'. The width descriptor is divided by the source size given in the sizes attribute to calculate the effective pixel density.

    a pixel density descriptor, which is a positive floating point number directly followed by 'x'.

    If no descriptor is specified, the source is assigned the default descriptor: 1x.

    It is incorrect to mix width descriptors and pixel density descriptors in the same srcset attribute. Duplicate descriptors (for instance, two sources in the same srcset which are both described with '2x') are invalid, too.

    The user agent selects any one of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions.

    MDN

  43. lazy val start: AttributeBuilder[Int]

    Permalink

    This integer attribute specifies the start value for numbering the individual list items.

    This integer attribute specifies the start value for numbering the individual list items. Although the ordering type of list elements might be Roman numerals, such as XXXI, or letters, the value of start is always represented as a number. To start numbering elements from the letter "C", use <ol start="3">.

    Note: This attribute was deprecated in HTML4, but reintroduced in HTML5.

    MDN HTML5

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

    Permalink
    Definition Classes
    AnyRef
  45. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  46. lazy val tpe: AttributeBuilder[Any]

    Permalink

    Shorthand for the type attribute.

  47. lazy val type: AttributeBuilder[Any]

    Permalink

    Defines the type of the element.

  48. lazy val unselectable: AttributeBuilder[Double]

    Permalink

    IE-specific property to prevent user selection.

  49. lazy val usemap: AttributeBuilder[Any]

    Permalink

    The partial URL (starting with '#') of an image map associated with the element.

  50. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. lazy val width: AttributeBuilder[Double]

    Permalink

    For the elements listed here, this establishes the element's width:

    For the elements listed here, this establishes the element's width:

    canvas embed iframe img input object video

    Note: For all other instances, such as <div>, this is a legacy attribute, in which case the CSS width property should be used instead.

    MDN

  54. lazy val xmlns: AttributeBuilder[Any]

    Permalink

    The XML namespace.

Deprecated Value Members

  1. lazy val challenge: AttributeBuilder[Any]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.9.0) The HTML keygen element, that this attribute belongs to has been deprecated in the HTML spec

  2. lazy val isMap: BoolAttributeBuilder

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.9.0) Deprecated, use 'ismap' instead

  3. lazy val keyType: AttributeBuilder[Any]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.9.0) The HTML keygen element, that this attribute belongs to has been deprecated in the HTML spec

Inherited from AnyRef

Inherited from Any

Ungrouped