0👍
Just to close this post.
I have not found an answer how to fix this issue but I this work-around works for me.
document.getElementById("app").style.cursor = 'unset';
body {
cursor: url("./image.png"), auto;
}
#app {
cursor: auto;
}
with ID "app" being the child of body.
- [Vuejs]-Vuejs 2 removing from array (splice) not animating with transition
- [Vuejs]-Why is v-for not working in this VueJS todo app?
-1👍
You an escape the semantics of quotation marks within the javascript language using the \
character. This basically means that ‘escaped’ quotation marks are just treated as "
characters in your string, instead denoting the beginning and end of the actual string in your code. This allows you to add quotation marks in your quoted text:
document.getElementById("app").style.cursor = "url(\"../public/graphics/Nights_Edge.png\"), auto";
Source:stackexchange.com