TagDef

case class TagDef(tagType: TagType, scalaName: String, scalaAliases: List[String], domName: String, isVoid: Boolean, scalaJsElementTypeAlias: String, javascriptElementType: String, commentLines: List[String], docUrls: List[String]) extends KeyDef

This type represents an HTML or SVG tag, such as div or input.

Value parameters:
commentLines
  • Scaladoc comment lines for this key
docUrls
  • Scaladoc documentation URLs for this key
domName
  • Native tag name in the DOM
isVoid
  • If true, elements of this type can have no children
javascriptElementType
  • Type of corresponding elements in raw Javascript
scalaAliases
  • Aliases that should be defined linking to the main scalaName
scalaJsElementTypeAlias
scalaName
  • Suggested name of this tag 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
tagType
  • HTML or SVG
trait Serializable
trait Product
trait Equals
trait KeyDef
class Object
trait Matchable
class Any

Value members

Concrete methods

def scalaJsElementType: String

Inherited methods

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