Skip to content

shinyjs v1.1

Compare
Choose a tag to compare
@daattali daattali released this 13 Jan 01:43
· 116 commits to master since this release
5164cf2

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 in runcodeUI() is now deprecated

BUG FIXES

  • shinyjs functions used inside a module with a selector argument instead of an id 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. When asis=TRUE, the ID will not be namespaced when inside a module (#118)
  • added id parameter to runcode(), allowing it to work inside Shiny modules (#184)
  • onevent() returns the offsetX and offsetY event properties
  • onevent() accepts a properties 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 including shinyjs in packages (#182)