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

destroy events #52

Open
dexterns88 opened this issue Sep 18, 2019 · 2 comments
Open

destroy events #52

dexterns88 opened this issue Sep 18, 2019 · 2 comments

Comments

@dexterns88
Copy link

Any way to destroy all listener for ifVisible ?

@kev71187
Copy link

looks like
ifvisible.on("focus", this.onChange);
ifvisible.off("focus")

@rosskevin
Copy link

I have included this (and more) in my updated fork. See 3.3.0 detach() and reattach() https://github.com/rosskevin/ifvisible/releases

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

3 participants