Skip to content

Support attachment fields in htmlWidgets #142

@michaelquinn32

Description

@michaelquinn32

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions