Attributes
- Authors:
杨博 (Yang Bo) <[email protected]>
- Companion:
- trait
- Source:
- Binding.scala
- 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
- Source:
- Binding.scala
- 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
- Source:
- Binding.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- BindingSeq.type
Data binding expression of a sequence
Data binding expression of a sequence
Attributes
- Companion:
- object
- Source:
- Binding.scala
- Graph
- Supertypes
- trait BindingSeq2Or3[A]trait BindingSeqOrWithFilter[A]trait Watchable[A]class Objecttrait Matchableclass Any
- Known subtypes
An data binding expression of sequence that never changes.
An data binding expression of sequence that never changes.
Attributes
- Companion:
- object
- Source:
- Binding.scala
- Graph
- Supertypes
- trait BindingSeq[A]trait BindingSeq2Or3[A]trait BindingSeqOrWithFilter[A]trait Watchable[A]class Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- Binding.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Constants.type
Attributes
- Source:
- Binding.scala
- Graph
- Supertypes
Attributes
- Source:
- Binding.scala
- 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 sequence into DOM or other system.
Attributes
- Source:
- Binding.scala
- Graph
- Supertypes
A mechanism that mounts the result of a data binding expression of a single value 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.
Use this class only if you must override mount or unmount. If you only want to override set, you can
use Binding[Unit] { onUpstreamChange(upstream.bind) }
instead.
Attributes
- Source:
- Binding.scala
- Graph
- Supertypes
A BindingSeq that contains only one element
A BindingSeq that contains only one element
Attributes
- Source:
- Binding.scala
- 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
- Source:
- Binding.scala
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- Binding.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Var.type
Source sequence of data binding expression.
Source sequence of data binding expression.
Attributes
- Companion:
- object
- Source:
- Binding.scala
- Graph
- Supertypes
- trait HasCache[A]trait BindingSeq[A]trait BindingSeq2Or3[A]trait BindingSeqOrWithFilter[A]trait Watchable[A]class Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- Binding.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Vars.type
Type members
Classlikes
Attributes
- Source:
- Binding.scala
- Graph
- Supertypes
- class EventObjecttrait Serializableclass Objecttrait Matchableclass Any
Attributes
- Source:
- Binding.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Source:
- Binding.scala
- Graph
- Supertypes
- class EventObjecttrait Serializableclass Objecttrait Matchableclass Any
Attributes
- Source:
- Binding.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Reactive operators for Observables.
Reactive operators for Observables.
Attributes
- See also:
- Note:
Rx operators are incomplete. Feel free to create a Pull Request if you need a certain operator.
- Source:
- Binding.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Rx.type
A data binding expression that has a stable referecence of value.
A data binding expression that has a stable referecence of value.
Attributes
- Note:
Even though value always references to the same object, the content of the object could be mutable.
- Source:
- Binding.scala
- Graph
- Supertypes
- Known subtypes
- class Constant[A]
Attributes
- Source:
- Binding.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- trait BindingSeq[A]class Constants[A]class SingletonBindingSeq[A]class Vars[A]trait Binding[A]trait Stable[A]class Constant[A]class Var[A]
Inherited classlikes
Attributes
- Inherited from:
- Companion
- Source:
- Binding2Or3.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Inherited types
Attributes
- Inherited from:
- Companion
- Source:
- Binding2Or3.scala
Value members
Inherited methods
Attributes
- Inherited from:
- Companion
- Source:
- Binding2Or3.scala
Attributes
- Inherited from:
- Companion
- Source:
- Binding2Or3.scala
Givens
Inherited givens
Attributes
- Inherited from:
- Companion
- Source:
- Binding2Or3.scala
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
- Source:
- Binding2Or3.scala