Short.G.Pro.Observable.X.Abstract
- Source
- Pro.scala
trait Short.G.Pro.Observable[Short.G.Pro.Observable.X.Abstract.A]
trait Short.G.Pro[Short.G.Pro.Observable.X.Abstract.A]
trait Any.Z.PrimitiveTag.Short
trait Any.Z.PrimitiveTag
class Pro.Observable.X.Abstract[Short.G.Pro.Observable.X.Abstract.A]
trait Pro.Observable.X.Base[Short.G.Pro.Observable.X.Abstract.A]
trait Event.Store.Provider
trait Pro.Observable[Short.G.Pro.Observable.X.Abstract.A]
trait Observable
class Pro.X.Abstract[Short.G.Pro.Observable.X.Abstract.A]
trait Pro.X.Base[Short.G.Pro.Observable.X.Abstract.A]
trait Able.Doc
trait Able.Tag
trait Pro[Short.G.Pro.Observable.X.Abstract.A]
class java.lang.Object
trait scala.Matchable
class Any
class Short.G.Pro.ObservableMutable.X.Abstract[Short.G.Pro.ObservableMutable.X.Abstract.A]
Def
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