Assess 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
- The
test:panel:hide
event, the event that occurs when any modal dialog is hidden. - The
dialogs()
public method which allows you to show or hide any modal dialog in the assessment.