SvgAttrBuilder

trait SvgAttrBuilder[A[_]]

This trait builds attribute objects which are typically found on the left hand side of the svgAttr := value syntax.

This trait builds attribute objects which are typically found on the left hand side of the svgAttr := value syntax.

See also: com.raquo.domtypes.generic.builders.canonical.CanonicalSvgAttrBuilder

Type Params
A

SVG Attribute, canonically com.raquo.domtypes.generic.keys.SvgAttr

class Object
trait Matchable
class Any

Value members

Abstract methods

protected def svgAttr[V](key: String, codec: Codec[V, String], namespace: Option[String]): A[V]

Create an SVG Attribute

Create an SVG Attribute

Concrete methods

@inline
protected def doubleSvgAttr(key: String, namespace: Option[String]): A[Double]
@inline
protected def intSvgAttr(key: String, namespace: Option[String]): A[Int]
@inline
protected def stringSvgAttr(key: String, namespace: Option[String]): A[String]