createAlert
is used within the Server logic of your Shiny app to display
an alert to the user.
createAlert(session, anchorId, alertId = NULL, title = NULL,
content = NULL, style = NULL, dismiss = TRUE, append = TRUE)
The session object passed to function given to shinyServer.
The unique identifier of the anchor where the alert should be displayed.
Optional A unique identifier for the Alert.
Optional A title for the Alert.
The main body of the Alert. HTML tags are allowed.
A bootstrap style to apply. Defaults to info
.
logical
Should the Alert be user dismissable? Defaults to TRUE
.
logical
Should the Alert be appended below existing Alerts? Default to TRUE
.
See Alerts for more information about how to use createAlert
with the
rest of the Alerts family.
Other Alerts: Alerts
; bsAlert
;
closeAlert