Packages

o

react.vdom

attrlist

object attrlist extends AttributeListSyntax

Import this to use the list-style attribute syntax. Create an attribtute list using Attrs or after importing the contents of this object, if they are styles, Style(<attribute list>) and convert it to a js.Object using .toJs(). You can then use the js.Object when creating elements by merging that value into trait structures that represent only allowed attributes for a specific tag.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. attrlist
  2. AttributeListSyntax
  3. AttributeListLowerOrderPriorityImplicits
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. implicit final class optionalMarkupOps extends AnyRef
    Definition Classes
    AttributeListSyntax
    Annotations
    @inline()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. lazy val Attributes: Attrs.type

    Create a list of attribtes.

  5. lazy val Style: Attrs.type

    For now, style attributes are just attributes so fake it out.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def attr(name: String): AttrName
    Definition Classes
    AttributeListSyntax
    Annotations
    @inline()
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. implicit def cvtAttrsToAttrValue(attrs: Attrs): AttrValue
    Definition Classes
    AttributeListSyntax
    Annotations
    @inline()
  10. implicit def cvtBoolToAttrValue(v: Boolean): AttrValue
    Definition Classes
    AttributeListSyntax
    Annotations
    @inline()
  11. implicit def cvtDoubleToAttrValue(v: Double): AttrValue
    Definition Classes
    AttributeListSyntax
    Annotations
    @inline()
  12. implicit def cvtDynamicToAttrValue(attrs: Dynamic): AttrValue
    Definition Classes
    AttributeListSyntax
    Annotations
    @inline()
  13. implicit def cvtFunctionToAttrValue(v: Function): AttrValue
    Definition Classes
    AttributeListSyntax
    Annotations
    @inline()
  14. implicit def cvtIntToAttrValue(v: Int): AttrValue
    Definition Classes
    AttributeListSyntax
    Annotations
    @inline()
  15. implicit def cvtJsAnyToAttrValue(v: Any): AttrValue

    Convert an js value to a AttrValue.

    Convert an js value to a AttrValue.

    Definition Classes
    AttributeListLowerOrderPriorityImplicits
    Annotations
    @inline()
  16. implicit def cvtStringToAttrName(s: String): AttrName
    Definition Classes
    AttributeListSyntax
    Annotations
    @inline()
  17. implicit def cvtStringToAttrValue(s: String): AttrValue
    Definition Classes
    AttributeListSyntax
    Annotations
    @inline()
  18. implicit def cvtStringsPairToAttr(p: (String, String)): Attr
    Definition Classes
    AttributeListSyntax
    Annotations
    @inline()
  19. implicit def cvtStringsPairToAttrs(p: (String, String)): Attrs
    Definition Classes
    AttributeListSyntax
    Annotations
    @inline()
  20. implicit def cvtStyleAttroAttrValue(s: StyleAttr): AttrValue
    Definition Classes
    AttributeListSyntax
    Annotations
    @inline()
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. lazy val noAttributes: Attrs
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. object prefix_<^

    Default tags and attributes you can use.

    Default tags and attributes you can use. You can import all of the actual values using import ^._, <._. This style is popular with other scalajs react facades but should really not be used in this library vs the more (but not perfectly) strongly typed versions in vdom.tags.

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AttributeListSyntax

Inherited from AnyRef

Inherited from Any

Ungrouped