EventPropDef
case class EventPropDef(scalaName: String, scalaAliases: List[String], domName: String, scalaJsEventType: String, javascriptEventType: String, commentLines: List[String], docUrls: List[String]) extends KeyDef
This type represent a specific type of DOM element events, e.g. "click" or "scroll".
- Value parameters:
- commentLines
- Scaladoc comment lines for this key
- docUrls
- Scaladoc documentation URLs for this key
- domName
- Native event name in the DOM, e.g. "click"
- javascriptEventType
- Type of corresponding event in raw Javascript
- scalaAliases
- Aliases that should be defined linking to the main
scalaName
- Aliases that should be defined linking to the main
- scalaJsEventType
- Type alias of corresponding event in scalajs-dom project See fullScalaJsDomEventType for the full path
- scalaName
- Suggested name of this prop in Scala.
The name is chosen to
- match Scala naming style (e.g. camelCase) and intended use
(event hook names in UI libraries)
- avoid name collisions between different types of keys
(e.g.
title
tag vstitle
attribute) - avoid using up popular names for unpopular keys
- Suggested name of this prop in Scala.
The name is chosen to
- match Scala naming style (e.g. camelCase) and intended use
(event hook names in UI libraries)
- avoid name collisions between different types of keys
(e.g.