A helper to build complicated comprehension expressions for BindingSeq
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 scala.collection.mutable.Buffer that allow you change the content of this Vars.
Returns a scala.collection.mutable.Buffer that allow you change the content of this Vars.
Whenever you change the returned buffer, other binding expressions that depend on this Vars will be automatically changed.
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
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.
(vars: 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.
(vars: 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
Source sequence of data binding expression.