Binding

org.getshaka.shaka.Binding
trait Binding[V]

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class NodeBinding[V]
class PropBinding[V]
class RootBinding

Members list

Value members

Abstract methods

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

Register a child Binding with this Binding

Register a child Binding with this Binding

Attributes

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.

Attributes

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.

Attributes