I'm an HTML element with id "test"
shinyjs lets you improve the user experience in your Shiny apps using very simple functions.
You can use the functions provided by shinyjs as regular intuitive R code. These functions use JavaScript behind the scenes to let you manipulate the content (HTML) on the page, but you do not need to know any JavaScript to use shinyjs. If you do know JavaScript, you can also use shinyjs to call you own JavaScript functions as if they were R code.
Click on any of the examples below to quickly copy them into the box on the left, then click "Run".
The functions ending in
*Class
require basic understading of
CSS.
The following CSS rule was added to the app in order for their examples to work:
.green { color: green }