SignalUpdate

zio.http.datastar.signal.SignalUpdate
See theSignalUpdate companion object
final case class SignalUpdate[A](signal: Signal[A], value: A)

Represents an assignment operation for updating a signal value. Can be used with d-patch and other signal-updating attributes.

Attributes

Companion
object
Source
Signal.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Implicitly added by signalUpdateToJs

Attributes

Source
Js.scala

Render as a JSON object expression with the signal name/path included (for data-signals attributes)

Render as a JSON object expression with the signal name/path included (for data-signals attributes)

Attributes

Source
Signal.scala

Inherited methods

Implicitly added by signalUpdateToJs

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
Implicitly added by signalUpdateToJs

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product