zio.http.datastar.Signal
See theSignal companion object
A named reactive signal for the Datastar frontend framework.
Represents a client-side signal identified by name. Signal names are validated at construction time. Literal names are checked at compile time, and dynamic names are checked at runtime. Names must be dot-separated JavaScript identifiers and must not contain __, which Datastar reserves for modifier syntax. Use := to create a SignalUpdate that pairs this signal with a JSON-serialized value.
val count = Signal[Int]("count")
count := 0 // SignalUpdate ready for patchSignals
Attributes
- Companion
- object
- Source
- Signal.scala
- Graph
-
- Supertypes
Members list
In this article