Items API Events
rendered
Fires when a Question has rendered.
You would want to be notified about this event firing, because you may want to gracefully reveal the Question content or inject additional elements from other external tools, for example.
Examples
itemsApp.question('[my_response_id]').on('rendered', function () {
console.log('This code executes when the Question is rendered.');
});
Related articles
- The
renderquestioninstance method. - The
isRenderedquestioninstance method. - The
render_optimizationinitialization options.