feedback.change - Events - Feedback Aide API

Feedback Aide API Events

feedback:change

Fires whenever feedback data changes.

This event allows you to subscribe to any changes to feedback, including any value that will be available in the data returned by getFeedback().

You would want to be notified about this event firing, because you might want to update score totals or other custom UI immediately as feedback values change.

Examples

// Using the feedbackSession instance
feedbackSession.on('feedback:change', function (feedback) {
    console.log(feedback);
});

// Using the sessionUI instance
sessionUI.on('feedback:change', function (feedback) {
    console.log(feedback);
});
Was this article helpful?

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