mod_quiz/question_slot

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

Members

(static, constant) init

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()

Source:

Replace the container with a new version.

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

Source:

Set the question version for the slot.

Parameters:
Name Type Description
slotId Number
newVersion Number
Returns:

The modified question version

Type
Array