test.panel.show - Events - Items API

Items API Events

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?

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