Methods
(static) hydrateModel(componentID, model) → {Object}
- Source:
Hydrates a data model by providing the component id
Parameters:
Name | Type | Description |
---|---|---|
componentID |
String | The id of the component that defines the fields |
model |
Object | The data model to hydrate |
Returns:
A copy of the data model with all references populated
- Type
- Object