Implicits

Companion
object
class Object
trait Matchable
class Any

Implicits

Implicits

@inline
implicit def boolToNode(bool: Boolean): TextNode
@inline
implicit def doubleToNode(double: Double): TextNode
@inline
implicit def enrichSource[A](source: Source[A]): RichSource[A]

Add --> methods on Observables

Add --> methods on Observables

@inline
implicit def eventPropToProcessor[Ev <: Event](eventProp: ReactiveEventProp[Ev]): EventProcessor[Ev, Ev]
@inline
implicit def intToNode(int: Int): TextNode
@inline
implicit def nodesArrayToModifier[N <: Base](nodes: Array[N]): Modifier[Base]

This modifier exists to prevent collections of nodes from being converted using nodesArrayToInserter, which is more expensive. We have a test that will fail should the order of implicits be wrong.

This modifier exists to prevent collections of nodes from being converted using nodesArrayToInserter, which is more expensive. We have a test that will fail should the order of implicits be wrong.

implicit def nodesSeqToModifier(nodes: Seq[Base]): Modifier[Base]

This modifier exists to prevent collections of nodes from being converted using nodesSeqToInserter, which is more expensive. We have a test that will fail should the order of implicits be wrong.

This modifier exists to prevent collections of nodes from being converted using nodesSeqToInserter, which is more expensive. We have a test that will fail should the order of implicits be wrong.

implicit def optionToModifier[A, El <: Base](maybeModifier: Option[A])(evidence: A => Modifier[El]): Modifier[El]

Create a modifier that applies the modifier in an option, if it's defined, or does nothing otherwise

Create a modifier that applies the modifier in an option, if it's defined, or does nothing otherwise

implicit def optionToSetter[El <: Base](maybeSetter: Option[Setter[El]]): Setter[El]
implicit def seqToModifier[A, El <: Base](modifiers: Seq[A])(evidence: 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

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

Create a setter that applies each of the setters in a seq

Create a setter that applies each of the setters in a seq

@inline
implicit def styleToReactiveStyle[V](style: Style[V]): ReactiveStyle[V]
@inline
implicit def textToNode(text: String): TextNode

Inherited implicits

implicit def nodeToInserter(node: Base): Inserter[Base]
Inherited from
LowPriorityImplicits
@inline
implicit def nodesArrayToInserter[N <: Base](nodes: Array[N]): Inserter[Base]
Inherited from
LowPriorityImplicits
implicit def nodesSeqToInserter(nodes: Seq[Base]): Inserter[Base]
Inherited from
LowPriorityImplicits