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

FR: Allow configuring connect.reload() so reloading affects only an iframe instead of the whole document, passing that iframe's id #269

Open
franktopel opened this issue Aug 20, 2019 · 0 comments

Comments

@franktopel
Copy link

franktopel commented Aug 20, 2019

We have a use-case where most of the time code changes only affect what's going on inside an iframe. The src of that iframe depends on which component a developer has picked to inspect on the iframe stage.

As this could possibly be a not-so-uncommon usecase, it would be great to have an option that allows passing a configuration to connect.reload() which would allow something like

connect.reload({ iframe: "id-of-my-iframe" });

or even better, for refreshing several iframes:

connect.reload({ iframes: ["id-of-my-iframe", "id-of-my-other-iframe"] });
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