Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple selector to hover #5

Closed
claronz opened this issue Oct 28, 2021 · 1 comment
Closed

Multiple selector to hover #5

claronz opened this issue Oct 28, 2021 · 1 comment

Comments

@claronz
Copy link
Contributor

claronz commented Oct 28, 2021

When I added 2 selector to element_to_hover option my cursor appears to be always in hover state. is there any way to do this? or I am supposed to use only 1 selector to my element_to_hover only?

What I'd like to do is

NodeCursor({
	cursor : true, 
	node : true, 
	cursor_velocity : 1, 
	node_velocity : 0.15, 
	native_cursor : 'none', 
	element_to_hover : '.iCanHoverThis, .iCanHoverThisToo', 
	cursor_class_hover : 'disable', 
	node_class_hover : 'expand', 
	hide_mode : true, 
	hide_timing : 2000, 
});

edit: I checked the code and found that this is not possible at the moment. Could you add this feature? only the jquery version has this problem

@hmongouachon
Copy link
Owner

Fixed in last version by contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants