Easily Improve the User Experience of Your Shiny Apps in Seconds
Add/remove CSS class
Click on a Shiny button
Execute R code after a specified number of milliseconds has elapsed
Initialize a Shiny input as disabled
Extend shinyjs by calling your own JavaScript functions
Initialize a Shiny tag as hidden
Change the HTML (or text) inside an element
Add inline CSS
Call user-defined JavaScript functions from R
Show a message
Run R code when an event is triggered on an element
Refresh the page
Remove an event that was added to an element
Reset input elements to their original values
Construct to let you run arbitrary R code live in a Shiny app
Run shinyjs examples
Run JavaScript code
Defunct functions in shinyjs
shinyjs
Print any JavaScript console.log messages in the R console
Enable/disable an input element
Set up a Shiny app to use shinyjs
Display/hide an element
Perform common useful JavaScript operations in Shiny apps that will greatly improve your apps without having to know any JavaScript. Examples include: hiding an element, disabling an input, resetting an input back to its original value, delaying code execution by a few seconds, and many more useful functions for both the end user and the developer. 'shinyjs' can also be used to easily call your own custom JavaScript functions from R.