mvcModel is called for each mvc model, to create the mvc model based upon the type and params. It will also load models and return the either the loadedModels or a promise.
Called for each model with a modelLoader of "dojox/app/utils/mvcModel", it will create the model based upon the type and the params set for the model in the config.
Parameter | Type | Description |
---|---|---|
config | Object | The models section of the config for this view or for the app. |
params | Object | The params set into the config for this model. |
item | String | The String with the name of this model |
The model, of the type specified in the config for this model.