vue-custom-cursor icon indicating copy to clipboard operation
vue-custom-cursor copied to clipboard

Instead of targets, use data-attributes for hovering

Open ayuka-bg opened this issue 4 years ago • 0 comments

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 ;)

ayuka-bg avatar Dec 14 '20 11:12 ayuka-bg