htmlwidget delayed loading

Hi there,

Is it possible to load htmlwidgets in a delayed manner?

For DT and highcharter to load correctly it seems that one is required to provide the initial UI with DT::dataTableOutput() or highcharter::highcharterOutput() for the relevant .js htmlwidget files to load.

It would be beneficial for users to keep the initial page size of a Shiny app low and defer the loading of, for example, highcharter assets until the relevant UI containing the highchart is loaded.

Does anyone have experience with deferring the loading of htmlwidget based libraries?

Thanks,

Michael

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.