Commercial enterprise offerings
Open source packages - Quarto, Shiny, and more
2015-04-07
Design patterns for action buttons
Written by Garrett Grolemund
Share

Action buttons can be tricky to use in Shiny because they work differently than other widgets. Widgets like sliders and select boxes maintain a value that is easy to use in your code. But the value of an action button is arbitrary. What should you do with it? Did you know that you should almost always call the value of an action button from observeEvent() or eventReactive()?
The newest article at the Shiny Development Center explains how action buttons work, and it provides five useful patterns for working with action buttons. These patterns also work well with action links.
Read the article here.
Related Content
Commercial enterprise offerings
2015-03-12
Package Development cheatsheet, plus Chinese translations
We’ve added a new cheatsheet to our collection! Package Development with devtools will help...
Commercial enterprise offerings
2015-03-04
haven 0.1.0
Please note that the information presented in this post reflects the package as it...
Commercial enterprise offerings
2015-02-26
Announcing shinyapps.io General Availability
RStudio is excited to announce the general availability (GA) of shinyapps.io. Shinyapps.io is an...