dojox/lang/observable (version 1.10)

Summary

Creates a wrapper object, which can be observed. The wrapper object is a proxy to the wrapped object. If you will be making multiple wrapper objects with the same set of listeners, it is recommended that you use makeObservable, as it is more memory efficient.

Usage

observable(wrapped,onRead,onWrite,onInvoke);
Parameter Type Description
wrapped Object

The object to be wrapped and monitored for property access and modification

onRead function

See dojox.lang.makeObservable.onRead

onWrite function

See dojox.lang.makeObservable.onWrite

onInvoke function

See dojox.lang.makeObservable.onInvoke

See the dojox/lang/observable reference documentation for more information.

Method Summary

Methods

Error in the documentation? Can’t find what you are looking for? Let us know!