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

Bind to new windows #47

Open
Zodiase opened this issue Jul 25, 2017 · 1 comment
Open

Bind to new windows #47

Zodiase opened this issue Jul 25, 2017 · 1 comment

Comments

@Zodiase
Copy link

Zodiase commented Jul 25, 2017

Would be cool to be able to bind new ifvisible instances on procedurally created windows. I.e.:

const w = window.open(...);
const wVisible = new ifvisible(w);
wVisible.on('blur', ...);
@rosskevin
Copy link

You can do this with my fork https://github.com/rosskevin/ifvisible

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