Initialize the toastr notification engine

Description

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
  ui <- shinyUI(fluidPage(
    useToastr(),
    pageWithSidebar(
      headerPanel("Header"),
      sidebarPanel(
        ...
      ),
      mainPanel(
        ...
      )
    )
  ))

Usage

1

Value

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

See Also

toastr_success, toastr_info, toastr_warning, toastr_error

Examples

1
## See above

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.