A data binding expression that represents a value that automatically recalculates when its dependencies change.
A data binding expression that represents a value that automatically recalculates when its dependencies change.
You may create a data binding expression via Binding { ??? }
block or @dom
annotation.
val bindingInt: Binding[Int] = Binding { 100 }
@dom val bindingBr: Binding[HTMLBRElement] = <br/>
A data binding expression may depend on other binding expressions via bind method:
val bindingString: Binding[String] = bindingInt.bind.toString
杨博 (Yang Bo) <[email protected]>
A wrapper that wraps scala.concurrent.Future to a Binding.
A wrapper that wraps scala.concurrent.Future to a Binding.
Because all Binding (including this FutureBinding) are not thread safe,
you must guarantee executor
running sequentially.
A wrapper that wraps a scala.scalajs.js.Promise to a com.thoughtworks.binding.Binding.
A wrapper that wraps a scala.scalajs.js.Promise to a com.thoughtworks.binding.Binding.
杨博 (Yang Bo) <[email protected]>
Enable XML DOM literal for Binding.scala
Enable XML DOM literal for Binding.scala
杨博 (Yang Bo) <[email protected]>
杨博 (Yang Bo) <[email protected]>
杨博 (Yang Bo) <[email protected]>
杨博 (Yang Bo) <[email protected]>
杨博 (Yang Bo) <[email protected]>