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

Support attachment fields in htmlWidgets #142

Open
michaelquinn32 opened this issue Mar 29, 2021 · 0 comments
Open

Support attachment fields in htmlWidgets #142

michaelquinn32 opened this issue Mar 29, 2021 · 0 comments

Comments

@michaelquinn32
Copy link

Although not commonly used, htmltools::htmlDependency() has an attachment argument.
https://github.com/rstudio/htmltools/blob/master/R/html_dependency.R

When rendering the widget, this creates <link /> elements in the html.
https://github.com/rstudio/htmltools/blob/9abc3f2d9e23e9f02a0945c526d8a3de77f9cec4/R/html_dependency.R#L64

From what I can tell, the current repr method for htmlwidgets doesn't support this argument.

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