尝试创建从dropdownMenu
到的链接menuItem
dropdownMenu
想要在select中单击任务时menuItem
。
我有:1)
sidebarMenu(
menuItem( "Main",tabName = "Add_data", icon = icon("plus-circle"), badgeLabel = "!", badgeColor = "red"),
menuItem("Other",tabName = "other", icon = icon("plus-circle"))
)
2)dropdownMenu(type = "tasks", .list = list(notificationItem(icon = icon("users"), status = "info","link")))
我需要粘贴什么href
来notificationItem
制作它?
试过了href = "Add_data"
href = "#shiny-tab-Add_data"
——没用。
可能有办法添加点击事件notificationItem
并添加到它updateTabItems(
吗?
谢谢!