Encountered the following error message: https://i.stack.imgur.com/JL4l6.png
The error in my code is within the line that initializes a new EnjoyHint object. Seeking assistance to resolve this issue.
public initiate(stepName) {
const steps = data['default'][stepName];
const block = false;
if (!block && steps && !(Number(window.innerWidth) < 768)) {
const enjoyhintInstance = new EnjoyHint({
onStart: () => {
console.log('walk through starts');
},
onEnd: () => {
console.log('walk through ends');
},
onSkip: () => {
console.log('Skip all');
}
});
// Code continues...
}
}
Installed the Enjoyhint package and jQuery, but encountered an "Enjoyhint is not defined" error. Hoping to achieve a Sample page result using Enjoyhint.