PropDef

com.raquo.domtypes.common.PropDef
case class PropDef(scalaName: String, scalaAliases: List[String], domName: String, scalaValueType: String, domValueType: String, codec: String, commentLines: List[String], docUrls: List[String]) extends KeyDef

This type represents an HTML element property.

Value parameters

codec
  • Codec needed to convert between scalaValueType and domValueType
commentLines
  • Scaladoc comment lines for this key
docUrls
  • Scaladoc documentation URLs for this key
domName
  • Native attribute name in the DOM.
domValueType
  • Type of values that this property holds in the DOM
scalaAliases
  • Aliases that should be defined linking to the main scalaName
scalaName
  • Suggested name of this prop in Scala. The name is chosen to - match Scala naming style (e.g. camelCase) - avoid name collisions between different types of keys (e.g. title tag vs title attribute) - avoid using up popular names for unpopular keys
scalaValueType
  • Type of values you can write to this attribute in Scala

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait KeyDef
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product