core_course/downloadcontent

Functions related to downloading course content.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Members

(static, constant) init

Source:

Set up listener to trigger the download course content modal.

Methods

(inner) displayDownloadConfirmation(downloadModalTrigger) → {void}

Source:

Display the download course content modal.

Parameters:
Name Type Description
downloadModalTrigger Object

The DOM element that triggered the download modal.

Returns:
Type
void

(inner) downloadContent(e, downloadModalTrigger, modal) → {void}

Source:

Trigger downloading of course content.

Parameters:
Name Type Description
e Event

The event triggering the download.

downloadModalTrigger Object

The DOM element that triggered the download modal.

modal Object

The modal object.

Returns:
Type
void