Pro.ObservableMutable.X.Basic
- Source
- X.scala
class Pro.ObservableMutable.X.Abstract[Pro.ObservableMutable.X.Basic.A]
trait Pro.ObservableMutable[Pro.ObservableMutable.X.Basic.A]
trait Pro.Mutable[Pro.ObservableMutable.X.Basic.A]
trait Pro.Observable.X.Base[Pro.ObservableMutable.X.Basic.A]
trait Event.Store.Provider
trait Pro.Observable[Pro.ObservableMutable.X.Basic.A]
trait Observable
class Pro.X.Abstract[Pro.ObservableMutable.X.Basic.A]
trait Pro.X.Base[Pro.ObservableMutable.X.Basic.A]
trait Able.Doc
trait Able.Tag
trait Pro[Pro.ObservableMutable.X.Basic.A]
class java.lang.Object
trait scala.Matchable
class Any
Def
Body
On change subscription
On change subscription
Adds given function as listener to property change events
val pro = String.Pro.OM("foo")
// event subscription
pro.onChange(() => "Change Detected".tp)
// library based event subscription
pro.onValueChangeWithOld((v, old) => "Value changed from " + old + " to " + v tp()))
pro() = "bar"
// Output
Value changed from foo to bar
Change Detected
- Definition Classes
- Base -> Observable
- Inherited from
- Base
- Source
- X.scala