Attributes
- Authors:
杨博 (Yang Bo) <[email protected]>
- Companion:
- trait
- Graph
- Supertypes
- trait Companionclass Objecttrait Matchableclass Any
- Self type
- Binding.type
Members list
Type class instance
Monad instances for Binding.
Monad instances for Binding.
Attributes
- Deprecated
- true
- Graph
- Supertypes
- trait BindingInstances2Or3class Objecttrait Matchableclass Any
- Self type
- BindingInstances.type
Binding Expressions
AST nodes of binding expressions
The companion of a data binding expression of a sequence
The companion of a data binding expression of a sequence
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- BindingSeq.type
Data binding expression of a sequence
Data binding expression of a sequence
Attributes
An data binding expression of sequence that never changes.
An data binding expression of sequence that never changes.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait BindingSeq[A]trait BindingSeq2Or3[A]trait BindingSeqOrWithFilter[A]trait Watchable[A]class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
A mechanism that mounts the result of a data binding expression of a sequence into DOM or other system.
A mechanism that mounts the result of a data binding expression of a single value into DOM or other system.
A BindingSeq that contains only one element
A BindingSeq that contains only one element
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait BindingSeq[A]trait BindingSeq2Or3[A]trait BindingSeqOrWithFilter[A]trait Watchable[A]class Objecttrait Matchableclass Any
Source variable of data binding expression.
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
- Graph
- Supertypes
Source sequence of data binding expression.
Source sequence of data binding expression.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait HasCache[A]trait BindingSeq[A]trait BindingSeq2Or3[A]trait BindingSeqOrWithFilter[A]trait Watchable[A]class Objecttrait Matchableclass Any
Type members
Classlikes
Attributes
- Graph
- Supertypes
- class EventObjecttrait Serializableclass Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- class EventObjecttrait Serializableclass Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Reactive operators for Observables.
Reactive operators for Observables.
Attributes
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- trait BindingSeq[A]class Constants[A]class SingletonBindingSeq[A]class Vars[A]trait Binding[A]class Constant[A]class Var[A]
Inherited classlikes
Inherited types
Attributes
- Inherited from:
- Companion
Value members
Givens
Inherited givens
Attributes
- Inherited from:
- Companion
Extensions
Inherited extensions
Returns the current value of this Binding and marks 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. The above rule is not applied to DOM nodes
created by XHTML literal. A bind
expression under a DOM node does not affect siblings and parents of that
node.
Attributes
- Note:
This method must be invoked inside a
@dom
method body or aBinding { ... }
block..- Inherited from:
- Companion