Source variable of data binding expression.
You can manually change the value:
import com.thoughtworks.binding.Binding.Var
val bindingVar = Var("initial value")
bindingVar.value = "changed value"
Then, any data binding expressions that depend on this Var will be changed automatically.
Attributes
- Companion
- object
- Source
- Binding.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Returns the current value of this Binding
Returns the current value of this Binding
Attributes
- Note
-
This method must not be invoked inside a
@dom
method body or aBinding { ... }
block.. - Definition Classes
- Source
- Binding.scala
Attributes
- Note
-
This method must not be invoked inside a
@dom
method body or aBinding { ... }
block. - Source
- Binding.scala
Inherited methods
Attributes
- Inherited from:
- Binding
- Source
- Binding.scala
Attributes
- Inherited from:
- Binding
- Source
- Binding.scala
Disable automatic recalculation.
Disable automatic recalculation.
Attributes
- Note
-
This method is recursive, which means that the dependencies of this Binding will be unwatched as well.
- Inherited from:
- Binding
- Source
- Binding.scala
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.
Attributes
- Note
-
This method is recursive, which means that the dependencies of this Binding will be watched as well.
- Inherited from:
- Binding
- Source
- Binding.scala