new ExamEvent()
Represents what should happen when a particular timing or navigation event happens.
Members
action :string
Action to take when the event happens.
Choices for timer events:
none
- Don't do anything.warn
- Show a message.
Choices for navigation events:
none
- just allow the navigationwarnifunattempted
- Show a warning but allow the student to continue.preventifunattempted
- Show a warning but allow the student to continue.
Type:
message :string
Message to show the student when the event happens.
Type:
type :string
Name of the event this corresponds to.
Navigation events:
onleave
- The student tries to move to another question without answering the current one.
(There used to be more, but now they're all the same one)
Timer events:
timedwarning
- Five minutes until the exam ends.timeout
- There's no time left; the exam is over.