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

Hello, I dared to modify your library #12

Open
jorgeortegaceja opened this issue Apr 24, 2020 · 0 comments
Open

Hello, I dared to modify your library #12

jorgeortegaceja opened this issue Apr 24, 2020 · 0 comments

Comments

@jorgeortegaceja
Copy link

I had the need to modify your library. Thank you very much for the contribution.

Because I needed to pause an infinite loop add the following lines of code

if (!!betweenIteration) { let state = false; setInterval(function () { if (state == false) { el.classList.remove(classes); state = !state; } else { el.classList.add(classes); state = !state; } }, betweenIteration); }

I added these lines in line 188 of the dist/index.js file

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

No branches or pull requests

2 participants