% Generated by roxygen2: do not edit by hand % Please edit documentation in R/useBannerDisconnectHandler.R \name{useBannerDisconnectHandler} \alias{useBannerDisconnectHandler} \title{Replaces the standard shiny disconnect handler with a banner} \usage{ useBannerDisconnectHandler() } \value{ The disconnect handler } \description{ Replaces the standard shiny disconnect handler with a banner } \examples{ \dontrun{ x <- shiny::fluidPage(useBannerDisconnectHandler()) shiny::shinyApp(x, function(...) { stop("Server stop") }) } }