shinytoastr (version 2.1.1)

useToastr: Initialize the toastr notification engine

Description

Call this function once, from the top of your Shiny UI definition. Here is an example:

  ui <- shinyUI(fluidPage(
    useToastr(),
    pageWithSidebar(
      headerPanel("Header"),
      sidebarPanel(
        ...
      ),
      mainPanel(
        ...
      )
    )
  ))

Usage

useToastr()

Arguments

Value

The HTML tags to put into the <head> of the HTML file.

See Also

toastr_success, toastr_info, toastr_warning, toastr_error

Examples

Run this code
## See above

Run the code above in your browser using DataCamp Workspace