CanonicalHtmlAttrBuilder

Canonical implementation of HtmlAttrBuilder, using our own HtmlAttr class.

Canonical implementation of HtmlAttrBuilder, using our own HtmlAttr class.

If you are using this implementation, create an implicit value class around HtmlAttr – there you can e.g. implement the := method.

Alternatively, implement your own HtmlAttrBuilder that uses either a subclass of HtmlAttr or a completely unrelated type of your own.

trait HtmlAttrBuilder[[V] =>> HtmlAttr[V]]
class Object
trait Matchable
class Any

Value members

Concrete methods

override protected def htmlAttr[V](key: String, codec: Codec[V, String]): HtmlAttr[V]
Definition Classes

Inherited methods

@inline
protected def doubleHtmlAttr(key: String): HtmlAttr[Double]
Inherited from
HtmlAttrBuilder
@inline
protected def intHtmlAttr(key: String): HtmlAttr[Int]
Inherited from
HtmlAttrBuilder
@inline
protected def stringHtmlAttr(key: String): HtmlAttr[String]
Inherited from
HtmlAttrBuilder