dojox/lang/oo/Decorator (version 1.10)

Summary

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.

Usage

Decorator(value,decorator);
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.

Property Summary

  • decoratora function to handle the custom assignment, or an object with exec() method.
  • valuea payload to be processed by the decorator.

Method Summary

Properties

decorator

a function to handle the custom assignment, or an object with exec() method. The signature is: decorator(/String/ name, /Function/ newValue, /Function/ oldValue).

value

a payload to be processed by the decorator.

Methods

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