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 Assess API

test:panel:show

Fires when any modal dialog is shown.

You would want to be notified about this event firing, so that you can pause a video on the page, for example.

Note Assessment content is hidden while modal dialogs are visible.

Examples

itemsApp.on('test:panel:show', function () {
    console.log('This code executes when any modal dialog is shown.');
});

Related articles

Was this article helpful?