kreuzberg.RuntimeState
See theRuntimeState companion trait
object RuntimeState
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RuntimeState.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 Serializabletrait Producttrait Equalstrait RuntimeState[S]class Objecttrait Matchableclass AnyShow all
case class CrossMapping[S1, S2](from: RuntimeProperty[S1], mapFn: S1 => S2, contraMap: S2 => S1) extends RuntimeProperty[S2]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait RuntimeProperty[S2]trait RuntimeState[S2]class Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalstrait RuntimeProperty[S]trait RuntimeState[S]class Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalstrait RuntimeState[S]class Objecttrait Matchableclass AnyShow all
trait JsRuntimeStateBase[D <: Element, S] extends RuntimeState[S]
Base for runtime state.
Base for runtime state.
Attributes
- Supertypes
- Known subtypes
-
case class Mapping[S1, S2](from: RuntimeState[S1], mapFn: S1 => S2) extends RuntimeState[S2]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait RuntimeState[S2]class Objecttrait Matchableclass AnyShow all
In this article