Fork me on GitHub

Choose a shinyjs function


What is shinyjs?

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.

As an extra perk, shinyjs also includes a colourInput() Shiny widget and a colour picker RStudio addin for selecting colours easily. You can see a simple preview of the colour input here:


This demo only allows you to select from one of the given R expressions and does not allow you to run any arbitrary expression. To have more freedom in playing with shinyjs, install shinyjs and run the sandbox demo using shinyjs::runExample('sandbox')
More apps by Dean