Returns the current value of this Binding and mark the current @dom method depend on this Binding.
Returns the current value of this Binding and mark the current @dom method depend on this Binding.
Each time the value changes, in the current @dom method,
all code after the current bind expression will be re-evaluated if the current @dom method is #watching.
However, code in current @dom method and before the current bind expression will not be re-evaluated.
This rule is not applied to DOM nodes created by XHTML literal.
A change related to a DOM node does not affect siblings and parents of the node.
This method must be invoked inside a @dom method body.
Disable automatic recalculation.
Disable automatic recalculation.
This method is recursive, which means that the dependencies of this Binding will be unwatched as well.
Enable automatic recalculation.
Enable automatic recalculation.
You may invoke this method more than once. Then, when you want to disable automatic recalculation, you must invoke #unwatch same times as the number of calls to this method.
This method is recursive, which means that the dependencies of this Binding will be watched as well.
(binding: StringAdd).self
(binding: StringFormat).self
(Since version 7.0.0) Use Binding#bind instead
(binding: ArrowAssoc[Binding[A]]).x
(Since version 2.10.0) Use leftOfArrow instead
(binding: Ensuring[Binding[A]]).x
(Since version 2.10.0) Use resultOfEnsuring instead
A data binding expression that represent a value that automatically recalculates when its dependencies change.
You may compose a data binding expression via
Binding { ??? }block, or add@domannotation to a method that produce a data binding expression.