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.
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.