v1.5.3
New features
-
Added a
reportThemeargument toshinyWidgetOutput(). IfTRUE, CSS styles of the widget's output container are made available toshiny::getCurrentOutputInfo(), making it possible to provide 'smart' styling defaults in arenderWidget()context. (#361) -
shinyRenderWidget()now has acacheHintparameter, for use with Shiny's newbindCache()function. (#391) -
Support a new
PACKAGE::widget_html.WIDGETNAMEconvention for defining custom widget HTML. This replaces the earlierPACKAGE::WIDGETNAME_htmlconvention, which continues to work but may be deprecated at some point in the future. The goal for the new convention is to prevent accidentally matching functions that were never intended for this purpose. (Thanks, @thebioengineer!) (#376) -
Export the
JSEvalsfunction, allowing other packages to supportJS()in non-widget contexts.