render.widgets - Events - Author API

Author API Events


Fires when widgets are visually refreshed (re-rendered) when navigating from edit to preview mode in the Item editor.

You would want to be notified about this event firing, because you might want to take some action when the Questions and Features have been reloaded and rendered, for example.

Note This event is not fired if the whole Item is rendered, for example, when navigating from the Item settings page back to Item edit. In that case, the render:item event is fired.


authorApp.on('render:widgets', function (widgetReferenceList) {
    console.log("This code executes when an Item's Questions and Features have been re-rendered.");

Callback arguments

  • widgetReferenceList array

    Array of widget references which were re-rendered.

    The widget references refer to the rendered DOM elements and can be selected using:


Was this article helpful?

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