A helper to build complicated comprehension expressions for BindingSeq
Returns the current value of this Binding and mark the outer @dom
method depends on this Binding.
Returns the current value of this Binding and mark the outer @dom
method depends on this Binding.
Each time the value changes, other @dom
methods that depend on this Binding will be re-evaluated if the Binding of that @dom
method is #watching.
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 monadic[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 monadic[Binding]
block or a @dom
method.
Underlying implementation of #map.
Underlying implementation of #map.
Don't use this method in user code.
Disable automatically re-calculation.
Disable automatically re-calculation.
This method is recursive, which means that the dependencies of this BindingSeq 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.
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
Underlying implementation of #withFilter.
Underlying implementation of #withFilter.
Don't use this method in user code.
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
Data binding expression of a sequence