A wrapper around the `toastr` JavaScript library that uses our preferred default argument values.
showToast( type, message, title = NULL, keepVisible = FALSE, .options = list(), session = shiny::getDefaultReactiveDomain() )
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 |
`invisible()`