Questions API Events
masked
Fires when the learner has masked a response in the Question.
You would want to be notified about this event firing, because you may want to track that the learner has masked a specific response option so that you can show additional UI elements, for example.
Examples
itemsApp.question('[my_response_id]').on('masked', function (response_id) {
console.log('This code executes when the learner has masked a response.');
});
Callback arguments
-
0 string
The
response_id
of the Question in context where the learner has masked a response.
Related articles
- The
beforeValidate
event, the event that occurs before the response validation has begun. - How The Response Masking Setting In The Activity Editor Works
- Assess API regions Elements and buttons