JsRuntimeState
kreuzberg.RuntimeState.JsRuntimeState
case class JsRuntimeState[D <: ScalaJsElement, S](componentId: Identifier, getter: D => S) extends JsRuntimeStateBase[D, S]
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
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait RuntimeState[S]class Objecttrait Matchableclass Any
Members list
In this article