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

Embedding widgets in widgets #261

Closed
yonicd opened this issue Feb 17, 2017 · 7 comments
Closed

Embedding widgets in widgets #261

yonicd opened this issue Feb 17, 2017 · 7 comments

Comments

@yonicd
Copy link

yonicd commented Feb 17, 2017

I want to try and embed in an iframe src that will run an htmlwidget. And use that iframe in a div call in slickR (which I did yesterday) . This would allow to have many independent widgets (of say ggplotly) running at once. Is this possible? If so how would I go about it?

Thanks

@bhaskarvk
Copy link

Check my widgetframe package (available on CRAN) it does exactly this; wraps a widget in an iframe

@yonicd
Copy link
Author

yonicd commented Mar 12, 2017

thanks! will do

@yonicd
Copy link
Author

yonicd commented Mar 12, 2017

can frameWidget return src script and not open the viewer?

@yonicd
Copy link
Author

yonicd commented Mar 12, 2017

i have a feeling that i would need to place var pymParent = new pym.Parent('divId', x.url, {}); in the divs i create to place in the slick carousel.

how can i get the html from widgetData?

@bhaskarvk
Copy link

Could you open a issue on widgetframe with some sample code of what you are trying to do ? It is better for me to track this that way.

@yonicd
Copy link
Author

yonicd commented Mar 12, 2017

thread continued here

@timelyportfolio
Copy link
Collaborator

timelyportfolio commented Apr 25, 2017

ok to close this one? @yonicd, feel free to reopen if not resolved.

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