shinyjs v1.1
This update was 2 years in the making because it required a lot of testing by users to ensure none of these features cause any regression bugs in real apps.
BREAKING CHANGES
- The
includeShinyjs
parameter inruncodeUI()
is now deprecated
BUG FIXES
- shinyjs functions used inside a module with a
selector
argument instead of anid
argument didn't work (#175) - shinyjs functions did not work with IDs that had a space in them (#176)
- non-selectize select inputs could not be disabled (#186)
click()
now works with download buttons (#198)
NEW FEATURES
- added
asis
parameter to any function that takes an ID. Whenasis=TRUE
, the ID will not be namespaced when inside a module (#118) - added
id
parameter toruncode()
, allowing it to work inside Shiny modules (#184) onevent()
returns theoffsetX
andoffsetY
event propertiesonevent()
accepts aproperties
parameter that allows the user to retrieve additional properties that are not whitelisted by default (#159)hide()
/show()
now only bubble up the DOM tree to the nearest input container if the current element is an input (#153)
MISC
- Added documentation about
useShinyjs()
side effects and about includingshinyjs
in packages (#182)