Constructor
new AssetCategories()
- Since:
- Source:
Extends
Members
model
- Source:
Methods
getMapAssets() → {Array.<MapAssets>}
Gets an array of MapAssets, one from each AssetCategory model.
- Source:
Returns:
A list of MapAssets collections.
-
Type
-
Array.<MapAssets>
getMapAssetsFlat() → {MapAssets}
Gets a single, flattened MapAssets collection from the AssetCategory
group in the collection.
- Source:
Returns:
A single MapAssets collection constructed from
groups of MapAsset models.
-
Type
-
MapAssets
setMapModel(mapModel)
Set the parent map model on each of the AssetCategory models in this
collection. This must be the Map model that contains this asset
collection.
Parameters:
Name |
Type |
Description |
mapModel |
MapModel
|
The map model to set on each of the AssetCategory
models |
- Source: