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

Add ability to specify DOM elements to add the effect to instead of a Class Selector #2

Open
sidthesloth92 opened this issue Nov 22, 2018 · 0 comments

Comments

@sidthesloth92
Copy link
Owner

The user should be able to pass in a list of elements and the effect should be added to it.

threeFingerTap.init({
elements : document.querySelectorAll('selector'),
hoverTimeout : 1000, // required only for Desktop
customLoadingBackground : "url('../assets/gifs/spinner.gif')"
})

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

1 participant