masking.changed - Events - Questions API

Questions API Events

masking:changed

Fires when masking mode is toggled on the Question.

You would want to be notified about this event firing, because you may want to update your application interface to reflect the current masking state, for example.

Examples

itemsApp.question('[my_response_id]').on('masking:changed', function (state) {
    console.log('Masking mode is now:', state);
});

Callback arguments

  • state boolean

    The new masking state.

    true means that masking mode has been enabled. false means that masking mode has been disabled.

Versioning

Version added: v2026.2.LTS

Related articles

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.