shuffle question order for flashcards
Submitted by amarino on Wed, 10/08/2014 - 22:18
Forums:
Hello is it possible to change the flashcards.js so that the question order isn't always the same, and if yes how?
Thanks in advance
Hello is it possible to change the flashcards.js so that the question order isn't always the same, and if yes how?
Thanks in advance
Navigation
Connect with H5P
About
H5P is a registered trademark of H5P Group
Privacy policy |
Copyright ©
2024
fnoks
Wed, 10/15/2014 - 08:59
Permalink
This is possible by doing
This is possible by doing something like this:
this.options.cards = H5P.shuffleArray(this.options.cards);
Put this in the constructor or the attach function.
Be aware all local changes to the H5P files will be overwritten if you update the libraries.
danieljcroberts
Sun, 11/30/2014 - 21:25
Permalink
default
Thank you for this informaiton. I would suggest it would be an enhancement if the flashcards library was random by default and ideally the option to turn off random available within the UI. This is just a future enhancement suggestion. Great job for the work around.
falcon
Mon, 12/01/2014 - 20:57
Permalink
Great feedback, thanks!We'll
Great feedback, thanks!
We'll consider it next time we upgrade flashcards