I was kindly sent this file from the Forum and have adapted it to suit my project. Is there a way that as well as displaying “Yay…” it also plays an audio file? I am thinking that visually impaired users would benefit from a sound that signified correct positioning.
If you have a file audio.mp3
in your resources library, you would add this function after line 47:
var audio = new Audio('${resourcesFolderName}/audio.mp3');
audio.play();
Thank you Daniel, I will give that a go
Worked a treat, thank you again