v1.5.3
New features
-
Added a
reportTheme
argument 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 acacheHint
parameter, for use with Shiny's newbindCache()
function. (#391) -
Support a new
PACKAGE::widget_html.WIDGETNAME
convention for defining custom widget HTML. This replaces the earlierPACKAGE::WIDGETNAME_html
convention, 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
JSEvals
function, allowing other packages to supportJS()
in non-widget contexts.