Javascript module for displaying feedback in a modal window
- Source:
- Copyright:
- 2023 Kevin Percy
- 2023 Kevin Percy
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Members
(static, constant) init
Initialize module
Methods
(inner) fetchFeedback(courseid, userid, itemid) → {Promise}
Fetch the feedback data.
Parameters:
Name | Type | Description |
---|---|---|
courseid |
int | |
userid |
int | |
itemid |
int |
Returns:
- Type
- Promise
(async, inner) getModal(courseid, userid, itemid) → {Promise}
Create the modal to display the feedback.
Parameters:
Name | Type | Description |
---|---|---|
courseid |
int | |
userid |
int | |
itemid |
int |
Returns:
- Type
- Promise
(inner) registerEventListeners()
Register event listeners for the View Feedback links.