All functions

addClass() addCssClass() removeClass() removeCssClass() toggleClass() toggleCssClass()

Add/remove CSS class

click()

Click on a Shiny button

delay()

Execute R code after a specified number of milliseconds has elapsed

disabled()

Initialize a Shiny input as disabled

extendShinyjs()

Extend shinyjs by calling your own JavaScript functions

hidden()

Initialize a Shiny tag as hidden

html()

Change the HTML (or text) inside an element

inlineCSS()

Add inline CSS

alert() info() logjs()

Show a message

onclick() onevent()

Run R code when an event is triggered on an element

refresh()

Refresh the page

removeEvent()

Remove an event that was added to an element

reset()

Reset input elements to their original values

runExample()

Run shinyjs examples

runcodeUI() runcodeServer()

Construct to let you run arbitrary R code live in a Shiny app

runjs()

Run JavaScript code

shinyjs

shinyjs

showLog()

Print any JavaScript console.log messages in the R console

enable() disable() toggleState()

Enable/disable an input element

useShinyjs()

Set up a Shiny app to use shinyjs

show() showElement() hide() hideElement() toggle() toggleElement()

Display/hide an element