shinyjs/ 0000755 0001762 0000144 00000000000 14161045372 011744 5 ustar ligges users shinyjs/NAMESPACE 0000644 0001762 0000144 00000001423 14151622417 013163 0 ustar ligges users # Generated by roxygen2: do not edit by hand export(addClass) export(addCssClass) export(alert) export(click) export(colourInput) export(colourPicker) export(delay) export(disable) export(disabled) export(enable) export(extendShinyjs) export(hidden) export(hide) export(hideElement) export(html) export(info) export(inlineCSS) export(js) export(logjs) export(onclick) export(onevent) export(refresh) export(removeClass) export(removeCssClass) export(removeEvent) export(reset) export(runExample) export(runcodeServer) export(runcodeUI) export(runjs) export(show) export(showElement) export(showLog) export(toggle) export(toggleClass) export(toggleCssClass) export(toggleElement) export(toggleState) export(updateColourInput) export(useShinyjs) shinyjs/LICENSE 0000644 0001762 0000144 00000000052 13730237653 012754 0 ustar ligges users YEAR: 2020 COPYRIGHT HOLDER: Dean Attali shinyjs/README.md 0000644 0001762 0000144 00000035152 14160335447 013235 0 ustar ligges users
Package | Description | Demo |
---|---|---|
shinyalert | π―οΈ Easily create pretty popup messages (modals) in Shiny | π |
shinyscreenshot | π· Capture screenshots of entire pages or parts of pages in Shiny apps | π |
timevis | π Create interactive timeline visualizations in R | π |
shinycssloaders | β Add loading animations to a Shiny output while itβs recalculating | π |
colourpicker | π¨ A colour picker tool for Shiny and for selecting colours in plots | π |
shinybrowser | π Find out information about a userβs web browser in Shiny apps | π |
shinydisconnect | π Show a nice message when a Shiny app disconnects or errors | π |
shinyforms | π Easily create questionnaire-type forms with Shiny | WIP |
Function | Description |
---|---|
show /hide /toggle |
Display or hide an element (optionally with an animation). |
hidden |
Initialize a Shiny tag as invisible (can be shown later with a call to show ). |
enable /disable /toggleState |
Enable or disable an input element, such as a button or a text input. |
disabled |
Initialize a Shiny input as disabled. |
reset |
Reset a Shiny input widget back to its original value. |
refresh |
Refresh the page. |
delay |
Execute R code (including any {shinyjs} functions) after a specified amount of time. |
alert |
Show a message to the user. |
click |
Simulate a click on a button. |
html |
Change the text/HTML of an element. |
onclick |
Run R code when a specific element is clicked. Was originally developed with the sole purpose of running a {shinyjs} function when an element is clicked, though any R code can be used. |
onevent |
Similar to onclick , but can be used with many other events instead of click (for example, listen for a key press, mouse hover, etc). |
removeEvent |
Remove an event that was added to an HTML element with onclick() or onevent() . |
addClass /removeClass /toggleClass |
add or remove a CSS class from an element. |
runjs |
Run arbitrary JavaScript code. |
extendShinyjs |
Allows you to write your own JavaScript functions and use {shinyjs} to call them as if they were regular R code. More information is available in the section βCalling your own JavaScript functions from Rβ below. |
Function | Description |
---|---|
runcodeUI +runcodeServer |
Adds a text input to your app that lets you run arbitrary R code live. |
showLog |
Print any JavaScript console.log() messages in the R console, to make it easier and quicker to debug apps without having to open the JS console. |
logjs |
Print a message to the JavaScript console (mainly used for debugging purposes). |
inlineCSS |
Easily add inline CSS to a Shiny app. |