Trait

com.raquo.domtypes.generic.defs.attrs

Attrs

Related Doc: package attrs

Permalink

trait Attrs[A[_]] extends AnyRef

A

HTML Attribute, canonically com.raquo.domtypes.generic.keys.HtmlAttr

Self Type
Attrs[A] with HtmlAttrBuilder[A]
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Attrs
  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 def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. lazy val charset: A[String]

    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

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. lazy val contentEditable: A[Boolean]

    Permalink

    Indicates whether the element should be editable by the user.

    Indicates whether the element should be editable by the user. If so, the browser modifies its widget to allow editing.

    MDN

    https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable

  8. lazy val contextMenuId: A[String]

    Permalink

    Specifies a context menu for an element by its element id.

    Specifies a context menu for an element by its element id. The context menu appears when a user right-clicks on the element

  9. def dataAttr(suffix: String): A[String]

    Permalink

    This class of attributes, called custom data attributes, allows proprietary information to be exchanged between the HTML and its DOM representation that may be used by scripts.

    This class of attributes, called custom data attributes, allows proprietary information to be exchanged between the HTML and its DOM representation that may be used by scripts. All such custom data are available via the HTMLElement interface of the element the attribute is set on. The HTMLElement.dataset property gives access to them.

    The suffix is subject to the following restrictions:

    must not start with xml, whatever case is used for these letters; must not contain any semicolon (U+003A); must not contain capital A to Z letters.

    Note that the HTMLElement.dataset attribute is a StringMap and the name of the custom data attribute data-test-value will be accessible via HTMLElement.dataset.testValue as any dash (U+002D) is replaced by the capitalization of the next letter (camelcase).

    MDN

  10. lazy val dropZone: A[String]

    Permalink

    Specifies whether the dragged data is copied, moved, or linked, when dropped Acceptable values: copy | move | link

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. lazy val formId: A[String]

    Permalink

    The form attribute specifies an ID of the form an ` element belongs to.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. lazy val heightAttr: A[Int]

    Permalink

    The height attribute specifies the pixel height of the following elements: <canvas>, <embed>, <iframe>, , , ,