2026-02-03 13:13:26 +00:00
2026-02-03 13:13:26 +00:00
2026-01-26 10:42:59 +00:00
2026-01-26 11:14:12 +00:00
2026-01-26 10:42:59 +00:00
2026-01-26 11:14:12 +00:00

AVSDevR.ShinyDisconnectHandler

The goal of AVSDevR.ShinyDisconnectHandler is to provide alternatives to the Shiny default disconnect handler with nicer styling, refresh options and user interaction.

Installation

You can install the development version of AVSDevR.ShinyDisconnectHandler like so:

remotes::install_git("https://git.avsdev.uk/R/AVSDevR.ShinyDisconnectHandler")

Example

To use a disconnect banner instead of the default disconnect handler:

library(AVSDevR.ShinyDisconnectHandler)
ui <- shiny::fluidPage(
  useBannerDisconnectHandler()
)
server <- function(...) {
  stop("This stops the server, disconnecting the client")
}
shiny::runApp(shiny::shinyApp(ui, server))
Description
No description provided
Readme 60 KiB
Languages
R 42.5%
CSS 38.2%
JavaScript 19.3%