# AVSDevR.ShinyDisconnectHandler The goal of AVSDevR.ShinyDisconnectHandler is to provide alternatives to the Shiny default disconnect handler which nicer styling, refresh options and user interaction. ## Installation You can install the development version of AVSDevR.ShinyDisconnectHandler like so: ``` r remotes::install_git("https://git.avsdev.uk/R/AVSDevR.ShinyDisconnectHandler") ``` ## Example To use a disconnect banner instead of the default disconnect handler: ``` r library(AVSDevR.ShinyDisconnectHandler) ui <- shiny::fluidPage( useBannerDisconnectHandler() ) server <- function(...) { stop("This stops the server, disconnecting the client") } shiny::runApp(shiny::shinyApp(ui, server)) ```