This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Event Questions API

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

  • response_id string

    The response_id of the Question in context where the learner has masked a response.

Related articles

Was this article helpful?