Description Usage Arguments Details Value Examples
Show information about an app during launch such as a 'welcome/what to do' toast message.
1 2 3 4 |
title |
character. |
message |
plain character string or, typically, one wrapping an html snippet. |
logo |
the |
logo_position |
character, |
type |
whether to return a |
toast_type |
if |
heading_size |
character, wrap the title in html heading tags, defaults to |
toast_args |
a list of additional arguments (after |
The list toast_args
has the following defaults: timeOut = 10000
, extendedTimeOut = timeOut
, position = "top-center"
,
closeButton = TRUE
and preventDuplicates=TRUE
.
If another list is provided, but does not include some of these five arguments, they will
be retained as defaults. Note that this function depends heavily on associated custom CSS. For example, if your message body is
very large, it will not fit in the toast box unless additional css overrides are included in your app for size and position.
Use with care and see this following GitHub gist for details.
a shiny::toastr::toast_*
object by default. Alternatively, a character string of html.
1 | #not run
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.