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

loadCallback is fired before loading iframe #76

Open
devochki opened this issue Oct 31, 2019 · 0 comments
Open

loadCallback is fired before loading iframe #76

devochki opened this issue Oct 31, 2019 · 0 comments

Comments

@devochki
Copy link

When I use loadCallback event, I notice that it is fired before loading iframe. Maybe it will be better to use something like this: h.on('load', function(){k(a.loadCallback);}); instead of directly call event.
Maybe it will be good to add id of iframe, so it will be easy referrable outside bPopup.
Also, is there a way to auto-size iframe? I try to change its height at loadCallback function, but this approach is not very clear as I think.

Thank you for support.

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