block_starredcourses/main

Description:
  • Javascript to initialise the starred courses block.

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

Javascript to initialise the starred courses block.

Methods

(inner) renderCourses(root, courses) → {promise}

Description:
  • Render the starred courses.

Source:
Parameters:
Name Type Description
root object

The root element for the starred view.

courses array

containing array of returned courses.

Returns:

Resolved with HTML and JS strings

Type
promise