Packages

c

react.vdom

AttrName

case class AttrName(value: String) extends Product with Serializable

This definition won't stop you from assigning the wrong type of value to an attribute so be careful. You can use the specific symbol syntax to reduce the danger slightly. The methods on this class are a builder pattern to ultimately create a Attr object.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AttrName
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AttrName(value: String)

Value Members

  1. def -->(value: Function0[_]): Attr
  2. def -->?[F](value: Option[F])(implicit toJSFunction: (F) => Function0[_]): Attrs
  3. def :=(value: AttrValue): Attr
  4. def :=?[A](value: Option[A])(implicit toAttrValue: (A) => AttrValue): Attrs
  5. def ==>[T](value: Function1[T, _]): Attr
  6. def ==>?[T, FT](value: Option[FT])(implicit toJsFunction: (FT) => Function1[T, _]): Attrs
  7. def productElementNames: Iterator[String]
    Definition Classes
    Product
  8. val value: String