useToastr {shinytoastr} | R Documentation |
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( ... ) ) ))
useToastr()
The HTML tags to put into the <head>
of the HTML file.
toastr_success
, toastr_info
,
toastr_warning
, toastr_error
## See above