The format of an expander object varies slightly depending on the particular expander type, but in general, the object will have some of the following properties:
this This is the string name of the expander. Currently, several expanders are provided by the framework, and are described below.
Some expanders call user-provided function. In these cases, this property is the string name of the user-provided function.
This is an array of arguments to be passed to the user-provided function specified in
Two Three expanders are currently provided by the framework, and component creators can specify these expanders in their default options:
The default expander type if the type property is not supplied. The
fluid.deferredInvokeCall expander is essentially the same as
fluid.deferredCall, but it will actually perform resolution of the client's demanded name. That is, it will look up the function name in the registered demands to determine what function will actually be called.
deferredInvokeCall is used by default by expanders if no type is specified. For example: