DerivedStyleProp

com.raquo.laminar.keys.DerivedStyleProp
class DerivedStyleProp[InputV](val key: StyleProp[_], val encode: InputV => String)

This class represents derived style props like height.px or backgroundImage.url

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def :=(value: InputV): StyleSetter
def <--(values: Source[InputV]): DerivedStyleUpdater[InputV]
def apply(value: InputV): StyleSetter
def maybe(value: Option[InputV]): Setter[HtmlElement]

Concrete fields

val encode: InputV => String
val key: StyleProp[_]