Constructor
new CourseAssetsModule()
Extends
- AbstractApiModule
Members
assets :AssetsModule
- Description:
- Cached module instance for easy access
- Source:
Cached module instance for easy access
Type:
- AssetsModule
content :ContentModule
- Description:
- Cached module instance for easy access
- Source:
Cached module instance for easy access
Type:
- ContentModule
Methods
extractAssetIds(data)
- Description:
- Search data object for asset types and retrieve _ids
- Source:
Parameters:
Name | Type | Description |
---|---|---|
data |
Object |
(async) handleContentEvent(action, arg1, arg2)
- Description:
- Handler for content event
- Source:
Parameters:
Name | Type | Description |
---|---|---|
action |
String | The action performed |
arg1 |
object | First argument passed by the event |
arg2 |
object | Second argument passed by the event |
(async) init() → {Promise}
- Description:
- Initialise the module
- Source:
Returns:
- Type
- Promise