shinyjs: Easily Improve the User Experience of Your Shiny Apps in Seconds
Version 0.9

Perform common useful JavaScript operations in Shiny apps that will greatly improve your apps without having to know any JavaScript. Examples include: hiding an element, disabling an input, resetting an input back to its original value, delaying code execution by a few seconds, and many more useful functions for both the end user and the developer. 'shinyjs' can also be used to easily call your own custom JavaScript functions from R.

AuthorDean Attali [aut, cre]
Date of publication2016-12-26 10:34:31
MaintainerDean Attali <daattali@gmail.com>
LicenseMIT + file LICENSE
Version0.9
URL http://deanattali.com/shinyjs
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("shinyjs")

Getting started

README.md
extendShinyjs: Calling your own JavaScript functions from R"
Including shinyjs in different types of apps"
Package shinyjs"
shinyjs example app walk-through"

Popular man pages

classFuncs: Add/remove CSS class
disabled: Initialize a Shiny input as disabled
hidden: Initialize a Shiny tag as hidden
onevent: Run R code when an event is triggered on an element
reset: Reset input elements to their original values
stateFuncs: Enable/disable an input element
visibilityFuncs: Display/hide an element
See all...

All man pages Function index File listing

Man pages

classFuncs: Add/remove CSS class
colourInput: Create a colour input control (DEPRECATED)
colourPicker: Colour picker gadget (DEPRECATED)
delay: Execute R code after a specified number of milliseconds has...
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
js: Call user-defined JavaScript functions from R
messageFuncs: Show a message
onevent: Run R code when an event is triggered on an element
reset: Reset input elements to their original values
runcode: Construct to let you run arbitrary R code live in a Shiny app
runExample: Run shinyjs examples
runjs: Run JavaScript code
shinyjs: shinyjs
showLog: Print any JavaScript console.log messages in the R console
stateFuncs: Enable/disable an input element
updateColourInput: Change the value of a colour input
useShinyjs: Set up a Shiny app to use shinyjs
visibilityFuncs: Display/hide an element

Functions

addClass Man page Source code
addCssClass Man page Source code
alert Man page Source code
classFuncs Man page
closestColHex Source code
col2hex Source code
colourInput Man page Source code
colourPicker Man page Source code
colourPickerAddin Source code
colourPickerGadget Source code
colourpickerDeprecateMsg Source code
createColsMap Source code
delay Man page Source code
disable Man page Source code
disabled Man page Source code
dropNulls Source code
enable Man page Source code
errMsg Source code
extendShinyjs Man page Source code
formatHEX Source code
formatHEXsingle Source code
getColNameOrHex Source code
getLuminance Source code
getSession Source code
hidden Man page Source code
hide Man page Source code
hideElement Man page Source code
html Man page Source code
info Man page
inlineCSS Man page Source code
insertHead Source code
isColDark Source code
js Man page
jsFunc Source code
jsFuncHelper Source code
logjs Man page Source code
messageFuncs Man page
nevercalled Source code
onclick Man page Source code
onevent Man page Source code
oneventHelper Source code
removeClass Man page Source code
removeCssClass Man page Source code
reset Man page Source code
runExample Man page Source code
runcode Man page
runcodeServer Man page Source code
runcodeUI Man page Source code
runjs Man page Source code
setupJS Source code
shinyjs Man page
shinyjs-package Man page
shinyjsInlcudeScript Source code
shinyjsInlineScript Source code
show Man page Source code
showElement Man page Source code
showLog Man page Source code
stateFuncs Man page
toggle Man page Source code
toggleClass Man page Source code
toggleCssClass Man page Source code
toggleElement Man page Source code
toggleState Man page Source code
updateColourInput Man page Source code
useShinyjs Man page Source code
visibilityFuncs Man page

Files

inst
inst/examples
inst/examples/sandbox
inst/examples/sandbox/ui.R
inst/examples/sandbox/server.R
inst/examples/sandbox/www
inst/examples/sandbox/www/header.png
inst/examples/sandbox/www/github-green-right.png
inst/examples/sandbox/www/style.css
inst/examples/sandbox/helpers.R
inst/examples/demo
inst/examples/demo/ui.R
inst/examples/demo/server.R
inst/examples/demo/www
inst/examples/demo/www/header.png
inst/examples/demo/www/github-green-right.png
inst/examples/demo/www/style.css
inst/examples/demo/helpers.R
inst/examples/colourInput
inst/examples/colourInput/www
inst/examples/colourInput/www/github-gray-right.png
inst/examples/colourInput/www/app.css
inst/examples/colourInput/app.R
inst/examples/basic
inst/examples/basic/app.R
inst/examples/basic/DESCRIPTION
inst/examples/basic/helper-text.R
inst/srcjs
inst/srcjs/input_binding_colour.js
inst/srcjs/inject.js
inst/srcjs/shinyjs-default-funcs.js
inst/www
inst/www/shared
inst/www/shared/colourpicker
inst/www/shared/colourpicker/css
inst/www/shared/colourpicker/css/colourpicker.css
inst/www/shared/colourpicker/css/colourpicker.min.css
inst/www/shared/colourpicker/js
inst/www/shared/colourpicker/js/colourpicker.js
inst/www/shared/colourpicker/js/colourpicker.min.js
inst/gadgets
inst/gadgets/colourpicker
inst/gadgets/colourpicker/img
inst/gadgets/colourpicker/img/ajax-loader.gif
inst/gadgets/colourpicker/css
inst/gadgets/colourpicker/css/app.css
inst/gadgets/colourpicker/js
inst/gadgets/colourpicker/js/shinyjs-funcs.js
inst/img
inst/img/demo-basic-v1.png
inst/img/colourPickerGadget.gif
inst/img/colourpickerscrnshot.png
inst/rstudio
inst/rstudio/addins.dcf
inst/doc
inst/doc/shinyjs-extend.Rmd
inst/doc/shinyjs-usage.R
inst/doc/shinyjs.R
inst/doc/shinyjs.html
inst/doc/shinyjs-extend.R
inst/doc/shinyjs-example.R
inst/doc/shinyjs-extend.html
inst/doc/shinyjs-usage.Rmd
inst/doc/shinyjs-example.html
inst/doc/shinyjs.Rmd
inst/doc/shinyjs-example.Rmd
inst/doc/shinyjs-usage.html
tests
tests/test-empty.js
tests/test-nofunc.js
tests/test-success.js
tests/test-error.js
tests/testthat.R
tests/testthat
tests/testthat/test-extendShinyjs.R
tests/testthat/test-hidden.R
NAMESPACE
NEWS.md
R
R/reset.R
R/utils.R
R/jsFunc-stateFuncs.R
R/runExample.R
R/inlineCSS.R
R/colourInput.R
R/jsFunc-runjs.R
R/showLog.R
R/jsFunc-html.R
R/extendShinyjs.R
R/useShinyjs.R
R/globals.R
R/onevent.R
R/jsFunc-messageFuncs.R
R/shinyjs.R
R/delay.R
R/disabled.R
R/colourPickerGadget.R
R/runcode.R
R/hidden.R
R/colourPickerGadgetUtils.R
R/jsFunc-classFuncs.R
R/ignoreme.R
R/jsFunc-aaa.R
R/jsFunc-visibilityFuncs.R
vignettes
vignettes/shinyjs-extend.Rmd
vignettes/shinyjs-usage.Rmd
vignettes/shinyjs.Rmd
vignettes/shinyjs-example.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/shinyjs.Rd
man/onevent.Rd
man/extendShinyjs.Rd
man/updateColourInput.Rd
man/colourInput.Rd
man/runcode.Rd
man/delay.Rd
man/hidden.Rd
man/disabled.Rd
man/useShinyjs.Rd
man/visibilityFuncs.Rd
man/colourPicker.Rd
man/showLog.Rd
man/runjs.Rd
man/js.Rd
man/runExample.Rd
man/html.Rd
man/messageFuncs.Rd
man/inlineCSS.Rd
man/reset.Rd
man/stateFuncs.Rd
man/classFuncs.Rd
LICENSE
shinyjs documentation built on May 19, 2017, 5:31 p.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.