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

Open in a new tab or resize sanddance for jupyter notebook #365

Open
HMotaA opened this issue Aug 27, 2021 · 1 comment
Open

Open in a new tab or resize sanddance for jupyter notebook #365

HMotaA opened this issue Aug 27, 2021 · 1 comment

Comments

@HMotaA
Copy link

HMotaA commented Aug 27, 2021

Hi!

Is there a way to open Sanddance in a new window and not embebed in jupyter notebook ?

image

@danmarshall
Copy link
Contributor

Our website hosts a page which you can use postMessage to populate with data.
https://microsoft.github.io/SandDance/embed/v3/sanddance-embed.html
(clicking the above link will be an empty page, it needs data to be posted to it.)

The page can be iframed or opened in a tab or window.

See this Observable for an example:
https://observablehq.com/@danmarshall/sanddance-explorer

Perhaps this can be added to the Jupyter widget as .showNewTab() ? The mechanism would need to be worked out, so that it does not open too many new tabs.

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