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
scalaJsEventType
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 vs title attribute) - avoid using up popular names for unpopular keys
trait Serializable
trait Product
trait Equals
trait KeyDef
class Object
trait Matchable
class Any

Value members

Concrete methods

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product