How to use the setFeedback() function
Hi!
I am working on a H5P content which is not a question type. At the end of the activity I need to display a score. I can use the scorebar without any problem, like this:
scoreBar = JoubelUI.createScoreBar(maxScore); scoreBar.setScore(actualScore); scoreBar.appendTo($feedback);
But I would like to add a score explanation to the score bar. I think that I need to use the setFeedback() function which resides in the H5P.Question-1.4 library. I have added it to my own library in the preloadedDependencies section.