RuntimeState

kreuzberg.RuntimeState
See theRuntimeState companion trait
object RuntimeState

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class And[S1, S2](left: RuntimeState[S1], right: RuntimeState[S2]) extends RuntimeState[(S1, S2)]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait RuntimeState[(S1, S2)]
class Object
trait Matchable
class Any
Show all
case class Collect[S](from: Seq[RuntimeState[S]]) extends RuntimeState[Seq[S]]

Collect multiple states

Collect multiple states

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait RuntimeState[Seq[S]]
class Object
trait Matchable
class Any
Show all
case class Const[S](value: S) extends RuntimeState[S]

A constant pseudo state.

A constant pseudo state.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait RuntimeState[S]
class Object
trait Matchable
class Any
Show all
case class JsProperty[D <: ScalaJsElement, S](componentId: Identifier, getter: D => S, setter: (D, S) => Unit) extends JsRuntimeStateBase[D, S]

Encapsulates a read/writable property.

Encapsulates a read/writable property.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait JsRuntimeStateBase[D, S]
trait RuntimeState[S]
class Object
trait Matchable
class Any
Show all
case class JsRuntimeState[D <: ScalaJsElement, S](componentId: Identifier, getter: D => S) extends JsRuntimeStateBase[D, S]

Encapsulates a JS DOM runtime state field.

Encapsulates a JS DOM runtime state field.

Type parameters

D

DOM Element Type

S

Return type

Value parameters

componentId

component ID

getter

function which fetches the state from DOM element type

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait JsRuntimeStateBase[D, S]
trait RuntimeState[S]
class Object
trait Matchable
class Any
Show all
sealed trait JsRuntimeStateBase[D <: ScalaJsElement, S] extends RuntimeState[S]

Base for runtime state.

Base for runtime state.

Attributes

Supertypes
trait RuntimeState[S]
class Object
trait Matchable
class Any
Known subtypes
class JsProperty[D, S]
class JsRuntimeState[D, S]
case class Mapping[S1, S2](from: RuntimeState[S1], mapFn: S1 => S2) extends RuntimeState[S2]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait RuntimeState[S2]
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror