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
render
question
instance public method. - The
isRendered
question
instance public method. - The
render_optimization
initialization options.