showToast {shinyFeedback} | R Documentation |
show toast message
Description
A wrapper around the 'toastr' JavaScript library that uses our preferred default argument values.
Usage
showToast(
type,
message,
title = NULL,
keepVisible = FALSE,
.options = list(),
session = shiny::getDefaultReactiveDomain()
)
Arguments
type |
length 1 character vector. Valid values are "success", "error", "warning", and "info" |
message |
the toast message |
title |
the toast title. Defaults to |
keepVisible |
a logical. If |
.options |
other options to pass to the |
session |
the Shiny session. Defaults to |
Value
'invisible()'