qbank_viewquestiontext/question_text_format

Description:
  • Javascript for question_text_format question bank control.

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

Javascript for question_text_format question bank control.

Members

(static, constant) init

Description:
  • Initialise question text format widget.

    Find the uiRoot element and attach a change listener to the question text format selector.

Source:

Initialise question text format widget.

Find the uiRoot element and attach a change listener to the question text format selector.

Methods

(async, inner) handleFormatChange(e) → {Promise.<void>}

Description:
  • Save the selected format via a web service call, and refresh the UI.

Source:
Parameters:
Name Type Description
e Event

Select field change event.

Returns:
Type
Promise.<void>