Package

com.thoughtworks

binding

Permalink

package binding

Content Hierarchy
Visibility
  1. Public
  2. All

Type Members

  1. trait Binding[+A] extends AnyRef

    Permalink

    A data binding expression that represents a value that automatically recalculates when its dependencies change.

    A data binding expression that represents a value that automatically recalculates when its dependencies change.

    You may create a data binding expression via Binding { ??? } block or @dom annotation.

    val bindingInt: Binding[Int] = Binding { 100 }
    @dom val bindingBr: Binding[HTMLBRElement] = <br/>

    A data binding expression may depend on other binding expressions via bind method:

    val bindingString: Binding[String] = bindingInt.bind.toString
    Author:

    杨博 (Yang Bo) <[email protected]>

  2. final class FutureBinding[A] extends Binding[Option[Try[A]]]

    Permalink

    A wrapper that wraps scala.concurrent.Future to a Binding.

    A wrapper that wraps scala.concurrent.Future to a Binding.

    Note

    Because all Binding (including this FutureBinding) are not thread safe, you must guarantee executor running sequentially.

  3. final class JsPromiseBinding[A] extends Binding[Option[Either[Any, A]]]

    Permalink

    A wrapper that wraps a scala.scalajs.js.Promise to a com.thoughtworks.binding.Binding.

    Author:

    杨博 (Yang Bo) <[email protected]>

  4. macro class dom extends Annotation with StaticAnnotation

    Permalink

    Enable XML DOM literal for Binding.scala

    Enable XML DOM literal for Binding.scala

    Author:

    杨博 (Yang Bo) <[email protected]>

    Annotations
    @compileTimeOnly( ... ) @compileTimeOnly( ... )
  5. macro class fxml extends Annotation with StaticAnnotation

    Permalink

    Author:

    杨博 (Yang Bo) <[email protected]>

    Annotations
    @compileTimeOnly( ... ) @compileTimeOnly( ... )

Value Members

  1. object Binding extends WithTypeClass[Monad, Binding]

    Permalink

    Author:

    杨博 (Yang Bo) <[email protected]>

  2. object FutureBinding

    Permalink
  3. object JsPromiseBinding

    Permalink
  4. object Route

    Permalink

    Author:

    杨博 (Yang Bo) <[email protected]>

  5. object dom

    Permalink

    Author:

    杨博 (Yang Bo) <[email protected]>

  6. object fxml

    Permalink

Ungrouped