Implicits

com.raquo.laminar.Implicits
See theImplicits companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Laminar

Members list

Type members

Inherited classlikes

object JsDictionaryValueMapper extends CompositeValueMapper[Dictionary[Boolean]]

Attributes

Inherited from:
CompositeValueMappers
Supertypes
trait CompositeValueMapper[Dictionary[Boolean]]
class Object
trait Matchable
class Any
object MapValueMapper extends CompositeValueMapper[Map[String, Boolean]]

Attributes

Inherited from:
CompositeValueMappers
Supertypes
trait CompositeValueMapper[Map[String, Boolean]]
class Object
trait Matchable
class Any
object StringBooleanSeqSeqValueMapper extends CompositeValueMapper[Seq[Seq[(String, Boolean)]]]

Attributes

Inherited from:
CompositeValueMappers
Supertypes
trait CompositeValueMapper[Seq[Seq[(String, Boolean)]]]
class Object
trait Matchable
class Any
object StringBooleanSeqValueMapper extends CompositeValueMapper[Seq[(String, Boolean)]]

Attributes

Inherited from:
CompositeValueMappers
Supertypes
trait CompositeValueMapper[Seq[(String, Boolean)]]
class Object
trait Matchable
class Any
object StringSeqSeqValueMapper extends CompositeValueMapper[Seq[Seq[String]]]

Attributes

Inherited from:
CompositeValueMappers
Supertypes
trait CompositeValueMapper[Seq[Seq[String]]]
class Object
trait Matchable
class Any
object StringSeqValueMapper extends CompositeValueMapper[Seq[String]]

Attributes

Inherited from:
CompositeValueMappers
Supertypes
trait CompositeValueMapper[Seq[String]]
class Object
trait Matchable
class Any
object StringValueMapper extends CompositeValueMapper[String]

Attributes

Inherited from:
CompositeValueMappers
Supertypes
trait CompositeValueMapper[String]
class Object
trait Matchable
class Any

Implicits

Implicits

implicit def arrayToModifier[A, El <: Base](modifiers: Array[A])(implicit asModifier: A => Modifier[El]): Modifier[El]

Create a modifier that applies each of the modifiers in an array

Create a modifier that applies each of the modifiers in an array

Attributes

implicit def arrayToSetter[El <: Base](setters: Array[Setter[El]]): Setter[El]

Combine an Array of Setter-s into a single Setter that applies them all.

Combine an Array of Setter-s into a single Setter that applies them all.

Attributes

implicit def componentToNode[A](component: A)(implicit renderable: RenderableNode[A]): Base

Convert a custom component to Laminar DOM node

Convert a custom component to Laminar DOM node

Attributes

implicit def derivedStyleIntToDouble[V](style: DerivedStyleProp[Int]): DerivedStyleProp[Double]

Allow both Int-s and Double-s in numeric style props

Allow both Int-s and Double-s in numeric style props

Attributes

implicit def enrichSource[A](source: Source[A]): RichSource[A]

Add --> methods to Observables

Add --> methods to Observables

Attributes

implicit def eventPropToProcessor[Ev <: Event](eventProp: EventProp[Ev]): EventProcessor[Ev, Ev]

Add EventProcessor methods (mapToValue / filter / preventDefault / etc.) to event props (e.g. onClick)

Add EventProcessor methods (mapToValue / filter / preventDefault / etc.) to event props (e.g. onClick)

Attributes

implicit def jsArrayToModifier[A, El <: Base](modifiers: JsArray[A])(implicit asModifier: A => Modifier[El]): Modifier[El]

Create a modifier that applies each of the modifiers in an array

Create a modifier that applies each of the modifiers in an array

Attributes

implicit def jsArrayToSetter[El <: Base](setters: JsArray[Setter[El]]): Setter[El]

Combine an ew.JsArray of Setter-s into a single Setter that applies them all.

Combine an ew.JsArray of Setter-s into a single Setter that applies them all.

Attributes

implicit def nodeArrayToModifier[N <: Base](nodes: Array[N]): Base
implicit def nodeJsArrayToModifier[N <: Base](nodes: JsArray[N]): Base
implicit def nodeOptionToModifier(nodes: Option[Base]): Base
implicit def nodeSeqToModifier(nodes: Seq[Base]): Base
implicit def nodeSjsArrayToModifier[N <: Base](nodes: Array[N]): Base
implicit def optionToModifier[A, El <: Base](maybeModifier: Option[A])(implicit asModifier: A => Modifier[El]): Modifier[El]

Create a modifier that applies an optional modifier, or does nothing if option is empty

Create a modifier that applies an optional modifier, or does nothing if option is empty

Attributes

implicit def optionToSetter[El <: Base](maybeSetter: Option[Setter[El]]): Setter[El]

Create a Setter that applies the optionally provided Setter, or else does nothing.

Create a Setter that applies the optionally provided Setter, or else does nothing.

Attributes

implicit def seqToModifier[A, El <: Base](modifiers: Seq[A])(implicit asModifier: A => Modifier[El]): Modifier[El]

Create a modifier that applies each of the modifiers in a seq

Create a modifier that applies each of the modifiers in a seq

Attributes

implicit def seqToSetter[El <: Base](setters: Seq[Setter[El]]): Setter[El]

Combine aa Seq of Setter-s into a single Setter that applies them all.

Combine aa Seq of Setter-s into a single Setter that applies them all.

Attributes

implicit def sjsArrayToModifier[A, El <: Base](modifiers: Array[A])(implicit asModifier: A => Modifier[El]): Modifier[El]

Create a modifier that applies each of the modifiers in an array

Create a modifier that applies each of the modifiers in an array

Attributes

implicit def sjsArrayToSetter[El <: Base](setters: Array[Setter[El]]): Setter[El]

Combine a js.Array of Setter-s into a single Setter that applies them all.

Combine a js.Array of Setter-s into a single Setter that applies them all.

Attributes

implicit def styleEncoderIntToDouble[V](encoder: StyleEncoder[Int]): StyleEncoder[Double]

Allow both Int-s and Double-s in numeric style props

Allow both Int-s and Double-s in numeric style props

Attributes

implicit def textToTextNode[A](value: A)(implicit renderable: RenderableText[A]): TextNode

Convert primitive renderable values (strings, numbers, booleans, etc.) to text nodes

Convert primitive renderable values (strings, numbers, booleans, etc.) to text nodes

Attributes

Inherited implicits

implicit def componentArrayToInserter[Component : RenderableNode](components: Array[Component]): Base

Attributes

Inherited from:
LowPriorityImplicits
implicit def componentJsArrayToInserter[Component : RenderableNode](components: JsArray[Component]): Base

Attributes

Inherited from:
LowPriorityImplicits
implicit def componentOptionToInserter[Component : RenderableNode](maybeComponent: Option[Component]): Base

Attributes

Inherited from:
LowPriorityImplicits
implicit def componentSeqToInserter[Component : RenderableNode](components: Seq[Component]): Base

Attributes

Inherited from:
LowPriorityImplicits
implicit def componentSjsArrayToInserter[Component : RenderableNode](components: Array[Component]): Base

Attributes

Inherited from:
LowPriorityImplicits
implicit def componentToInserter[Component](component: Component)(implicit renderable: RenderableNode[Component]): Base

Attributes

Inherited from:
LowPriorityImplicits
implicit def nodeArrayToInserter(nodes: Array[Base]): Base

Attributes

Inherited from:
LowPriorityImplicits
implicit def nodeJsArrayToInserter[N <: Base](nodes: JsArray[N]): Base

Attributes

Inherited from:
LowPriorityImplicits
implicit def nodeOptionToInserter(maybeNode: Option[Base]): Base

Attributes

Inherited from:
LowPriorityImplicits
implicit def nodeSeqToInserter(nodes: Seq[Base]): Base

Attributes

Inherited from:
LowPriorityImplicits
implicit def nodeSjsArrayToInserter[N <: Base](nodes: Array[N]): Base

Attributes

Inherited from:
LowPriorityImplicits
implicit def nodeToInserter(node: Base): Base

Attributes

Inherited from:
LowPriorityImplicits
implicit def textToInserter[A](value: A)(implicit renderable: RenderableText[A]): Base

Attributes

Inherited from:
LowPriorityImplicits