practice.stimulus.render - Events - Rubric Editor API

Rubric Editor API Events

practice:stimulus:render

Fires when the stimulus section within the Test panel is rendered and contains meaningful content.

You would want to listen to this event when you need to post-process specifically the stimulus content within the Test panel, for example, to trigger math rendering on the stimulus element.

Examples

rubricEditor.on('practice:stimulus:render', function () {
    // Post-process the stimulus content, e.g. render math
    MathJax.typesetPromise();
});
Was this article helpful?

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