useToastr {shinytoastr} | R Documentation |
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()
Value
The HTML tags to put into the <head>
of the HTML file.
See Also
toastr_success
, toastr_info
,
toastr_warning
, toastr_error
Examples
## See above
[Package shinytoastr version 2.2.0 Index]