RuntimeState

kreuzberg.RuntimeState
See theRuntimeState companion trait
object RuntimeState

Attributes

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

Members list

Type members

Classlikes

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 CrossMapping[S1, S2](from: RuntimeProperty[S1], mapFn: S1 => S2, contraMap: S2 => S1) extends RuntimeProperty[S2]

Attributes

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

Encapsulates a read/writable property.

Encapsulates a read/writable property.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait RuntimeProperty[S]
trait JsRuntimeStateBase[D, S]
trait RuntimeState[S]
class Object
trait Matchable
class Any
Show all
case class JsRuntimeState[D <: Element, 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
trait JsRuntimeStateBase[D <: Element, 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