Repr

trait Repr[T <: Txn[T]] extends Runner[T] with Observable[T, State]
trait Runner[T]
trait IControl[T]
trait Form[T]
trait ViewBase[T]
trait Disposable[T]
trait Observable[T, State]
class Object
trait Matchable
class Any

Value members

Inherited methods

def dispose()(implicit tx: T): Unit
Inherited from
Disposable
def initControl()(implicit tx: T): Unit
Inherited from
IControl
Inherited from
Runner
def prepare(attr: Attr[T])(implicit tx: T): Unit
Inherited from
Runner
Inherited from
Runner
def react(fun: T => State => Unit)(implicit tx: T): Disposable[T]

Registers a live observer with this observable. The method is called with the observing function which receives the observable's update message of type A, and the method generates an opaque Disposable instance, which may be used to remove the observer eventually (through the dispose method).

Registers a live observer with this observable. The method is called with the observing function which receives the observable's update message of type A, and the method generates an opaque Disposable instance, which may be used to remove the observer eventually (through the dispose method).

Inherited from
Observable
final
def reactNow(fun: T => State => Unit)(implicit tx: T): Disposable[T]

Like react, but also invokes the function with the current state immediately.

Like react, but also invokes the function with the current state immediately.

Inherited from
ViewBase
def run()(implicit tx: T): Unit
Inherited from
Runner
def state(implicit tx: T): State
Inherited from
ViewBase
def stop()(implicit tx: T): Unit
Inherited from
ViewBase

Implicits

Inherited implicits

implicit
Inherited from
Runner