mod_quiz/question_slot

Description:
  • Render the question slot template for each question in the quiz edit view.

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

Render the question slot template for each question in the quiz edit view.

Members

(static, constant) init

Description:
  • Entrypoint of the js.

Source:

Entrypoint of the js.

(inner) eventsRegistered

Source:
Properties:
Name Type Description
eventsRegistered Boolean

If the event has been registered or not

Methods

(inner) registerEventListeners()

Description:
  • Replace the container with a new version.

Source:

(inner) setQuestionVersion(slotId, newVersion) → {Array}

Description:
  • Set the question version for the slot.

Source:
Parameters:
Name Type Description
slotId Number
newVersion Number
Returns:

The modified question version

Type
Array