shinyjs::addClass()
to add a CSS class to the webpage that enlarges the font
shinyjs::toggleState()
to enable the submit button, and similary to disable the button
when there is no input
shinyjs::onclick()
and
shinyjs::toggle()
to toggle between showing and
hiding the advanced info section when the link is clicked
shinyjs::onclick()
and
shinyjs::html()
to update the HTML in the timestamp when
the link is clicked
shinyjs::alert()
to show a
message to the user
These are just a subset of the functions available in shinyjs.
This app is available at https://daattali.com/shiny/shinyjs-basic/ and the source code is on GitHub
Visit the shinyjs website to learn more