# Easily Improve the User Experience of Your Shiny Apps in Seconds

## Documentation for package ‘shinyjs’ version 2.1.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

addClass | Add/remove CSS class
addCssClass | Add/remove CSS class
alert | Show a message
classFuncs | Add/remove CSS class
click | Click on a Shiny button
delay | Execute R code after a specified number of milliseconds has elapsed
disable | Enable/disable an input element
disabled | Initialize a Shiny input as disabled
enable | Enable/disable an input element
extendShinyjs | Extend shinyjs by calling your own JavaScript functions
hidden | Initialize a Shiny tag as hidden
hide | Display/hide an element
hideElement | Display/hide an element
html | Change the HTML (or text) inside an element
info | Show a message
inlineCSS | Add inline CSS
logjs | Show a message
messageFuncs | Show a message
onclick | Run R code when an event is triggered on an element
onevent | Run R code when an event is triggered on an element
refresh | Refresh the page
removeClass | Add/remove CSS class
removeCssClass | Add/remove CSS class
removeEvent | Remove an event that was added to an element
reset | Reset input elements to their original values
runcode | Construct to let you run arbitrary R code live in a Shiny app
runcodeServer | Construct to let you run arbitrary R code live in a Shiny app
runcodeUI | Construct to let you run arbitrary R code live in a Shiny app
runExample | Run shinyjs examples
runjs | Run JavaScript code
show | Display/hide an element
showElement | Display/hide an element
showLog | Print any JavaScript console.log messages in the R console
stateFuncs | Enable/disable an input element
toggle | Display/hide an element
toggleClass | Add/remove CSS class
toggleCssClass | Add/remove CSS class
toggleElement | Display/hide an element
toggleState | Enable/disable an input element
useShinyjs | Set up a Shiny app to use shinyjs
visibilityFuncs | Display/hide an element