View source: R/dropdown_menu.R
notification_item | R Documentation |
Create a notification item.
notification_item(text, icon = "warning", color = "")
notificationItem(text, icon = "warning", color = "")
text |
Text of the notification. |
icon |
Additional icon. |
color |
Color of the notification item. One of
|
A notification item that can be passed to dropdownMenu
notificationItem()
: Create a notification item (alias for notification_item
for
compatibility with shinydashboard
)
notificationItem("This is notification!", color = "red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.