Html

tyrian.Html
See theHtml companion object
sealed trait Html[+M] extends Elem[M]

Base class for HTML tags

Attributes

Companion
object
Graph
Supertypes
trait Elem[M]
class Object
trait Matchable
class Any
Known subtypes
class RawTag[M]
class Tag[M]

Members list

Value members

Abstract methods

def clearKey: Html[M]

Clear a key value that was being used to help the virtual-dom understand what has changed.

Clear a key value that was being used to help the virtual-dom understand what has changed.

Attributes

def innerHtml(html: String): Html[M]

Set this node's innerHtml with stringified HTML.

Set this node's innerHtml with stringified HTML.

Attributes

def map[N](f: M => N): Html[N]

Map over the node in order to modify the Msg type

Map over the node in order to modify the Msg type

Attributes

def setKey(value: String): Html[M]

Set a key value to help the virtual-dom understand what has changed.

Set a key value to help the virtual-dom understand what has changed.

Attributes

def withKey(value: Option[String]): Html[M]

Optionally set a key value to help the virtual-dom understand what has changed.

Optionally set a key value to help the virtual-dom understand what has changed.

Attributes

Concrete methods

def render: String
Extension method from tyrian
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Elem -> Any