A helper to build complicated comprehension expressions for BindingSeq
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.
Returns a BindingSeq that flat-maps each element of this BindingSeq via f
Returns a BindingSeq that flat-maps each element of this BindingSeq via f
This method is only available in a Binding { ??? }
block or a @dom
method.
Underlying implementation of #flatMap.
Underlying implementation of #flatMap.
Don't use this method in user code.
Returns a BindingSeq that maps each element of this BindingSeq via f
Returns a BindingSeq that maps each element of this BindingSeq via f
This method is only available in a Binding { ??? }
block or a @dom
method.
Underlying implementation of #map.
Underlying implementation of #map.
Don't use this method in user code.
Disables automatically re-calculation.
Disables automatically re-calculation.
This method is recursive, which means that the dependencies of this BindingSeq will be unwatched as well.
Enables automatically re-calculation.
Enables automatically re-calculation.
You may invoke this method more than once. Then, when you want to disable automatically re-calculation, 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 BindingSeq will be watched as well.
Returns a view of this BindingSeq that applied a filter of condition
Returns a view of this BindingSeq that applied a filter of condition
Underlying implementation of #withFilter.
Underlying implementation of #withFilter.
Don't use this method in user code.
(bindingSeq: StringAdd).self
(bindingSeq: StringFormat).self
Disable automatically re-calculation.
Disable automatically re-calculation.
(bindingSeq: AsBinding[A]).unwatch()
This method is recursive, which means that the dependencies of this Binding will be unwatched as well.
Enable automatically re-calculation.
Enable automatically re-calculation.
You may invoke this method more than once. Then, when you want to disable automatically re-calculation, you must invoke #unwatch same times as the number of calls to this method.
(bindingSeq: AsBinding[A]).watch()
This method is recursive, which means that the dependencies of this Binding will be watched as well.
(Since version 7.0.0) Use Binding#bind instead
(bindingSeq: ArrowAssoc[BindingSeq[A]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(bindingSeq: Ensuring[BindingSeq[A]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Data binding expression of a sequence