Binding

trait Binding[V]

Base trait for Bindings. Since Bindings are hierarchical, they must manage registered child bindings.

class Object
trait Matchable
class Any
class NodeBinding[V]
class PropBinding[V]

Value members

Abstract methods

def addChildBinding(b: Binding[_]): Unit

Register a child Binding with this Binding

Register a child Binding with this Binding

def destroy(): Unit

Destorys this Binding and its children. Typically should remove this Binding from any State references to allow garbage collection.

Destorys this Binding and its children. Typically should remove this Binding from any State references to allow garbage collection.

def onChange(newValue: V): Unit

Typically, triggers a DOM update, and the destruction of child Bindings.

Typically, triggers a DOM update, and the destruction of child Bindings.