View source: R/dashboardHeader.R
notificationItem | R Documentation |
Custom notificationItem
notificationItem(
text,
icon = shiny::icon("triangle-exclamation"),
status = "success",
href = NULL,
inputId = NULL
)
text |
The notification text. |
icon |
An icon tag, created by |
status |
The status of the item This determines the item's background color. Valid statuses are listed in validStatuses. |
href |
An optional URL to link to. |
inputId |
If not NULL, this item behaves like an action button. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.