CourseAssetsModule

courseassets. CourseAssetsModule

Module which handles courseassets automatically using on content events

Constructor

new CourseAssetsModule()

Source:

Extends

  • AbstractApiModule

Members

assets :AssetsModule

Source:
Cached module instance for easy access
Type:
  • AssetsModule

content :ContentModule

Source:
Cached module instance for easy access
Type:
  • ContentModule

Methods

extractAssetIds(data)

Source:
Search data object for asset types and retrieve _ids
Parameters:
Name Type Description
data Object

(async) handleContentEvent(action, arg1, arg2)

Source:
Handler for content event
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}

Source:
Initialise the module
Returns:
Type
Promise

(async) setValues()

Source: