The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Alerts and Notifications

standby offers several types of alerts, notifications and tooltips. This document is a quickstart guide for using standby in your Shiny applications. Let us look at a simple example below:

library(shiny)
library(standby)

ui <- fluidPage(
 
  useToast(), # include dependencies
  actionButton(inputId = "btn",
               label   = "iziToast Demo")
 
)
 
server <- function(input, output, session) {

  observeEvent(input$btn, {
    # display toast notification
    toast("Hey there!", "Thank you for exploring buzz!")
  })
}

shinyApp(ui, server)

To use alerts or notifications from buzz in your Shiny application, follow the below steps:

Details

The below table displays the dependency and rendering functions along with references:

Index Dependency Render Reference
1 useAlertify() alertify_alert() https://github.com/MohammadYounes/AlertifyJS
2 useAlertify() alertify_notify() https://github.com/MohammadYounes/AlertifyJS
3 useBootBox() bootBox() https://github.com/bootboxjs/bootbox
4 useMicroTip() microTip() https://github.com/ghosh/microtip
5 useNS() notice() https://tympanus.net/Development/NotificationStyles/
6 useNotify() notify() https://github.com/sciactive/pnotify
7 useTingle() tingle() https://github.com/robinparisi/tingle
8 useToast() toast() https://github.com/marcelodolza/iziToast

Visit the documentation to learn how to customize the alerts and notifications.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.