- Description:
Question bank UI refresh utility
- Source:
- Copyright:
- 2023 Catalyst IT Europe Ltd.
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Question bank UI refresh utility
Methods
(static) refresh(uiRoot, returnUrl) → {Promise}
- Description:
Reload the question bank UI, retaining the current filters and sort data.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
uiRoot |
Element | The root element of the UI to be refreshed. Must contain "component", "callback" and "contextid" in its data attributes, to be passed to the Fragment API. |
returnUrl |
URL | The url of the current page, containing filter and sort parameters. |
Returns:
Resolved when the refresh is complete.
- Type
- Promise