Feedback Aide API Events
feedback:progress
Fires each time the generated score or feedback streaming data is received from the server.
You would want to be notified about this event firing, because you might want to update your application custom UI to match the received feedback progressively, for example.
This event will be fired multiple times depending on the number of the rubric’s criteria items.
Examples
// Using the feedbackSession instance
feedbackSession.on('feedback:progress', function (data) {
console.log(data);
});
// Using the sessionUI instance
sessionUI.on('feedback:progress', function (data) {
console.log(data);
});
Callback arguments
-
data object
The following properties are supported.
-
type string
The type of rubric score.
-
criteria string
The title of the criterion.
-
level string
The level of the criterion.
-
score number
The rubric score.
-
comment string
Additional information on the progress.
-