The base class for all decorators.
This object holds an original function or another decorator object, and implements a special mixin algorithm to be used by dojox.lang.oo.mixin.
Parameter | Type | Description |
---|---|---|
value | Object | a payload to be processed by the decorator. |
decorator | Function | Object | a function to handle the custom assignment, or an object with exec() method. The signature is: decorator(/String/ name, /Function/ newValue, /Function/ oldValue). |
See the dojox/lang/oo/Decorator reference documentation for more information.
a function to handle the custom assignment, or an object with exec() method. The signature is: decorator(/String/ name, /Function/ newValue, /Function/ oldValue).