WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Hello, I dared to modify your library #12

@jorgeortegaceja

Description

@jorgeortegaceja

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions