vue-custom-cursor
vue-custom-cursor copied to clipboard
Instead of targets, use data-attributes for hovering
Realy good work you did, I have one (maybe later a few) new features. Use data-attributes instead of targets array, cause if you have more than one class for get targeting element it will not work.
e.target.getAttribute("data-hover-cursor")
<img src="some_img_path" data-hover-cursor="true" class="link__img" />
and add hide cursor props ;)