sidebar_menu {semantic.dashboard} | R Documentation |
Create a sidebar menu.
Description
Create a sidebar menu with menu items.
Usage
sidebar_menu(..., id = "uisidebar")
sidebarMenu(..., id = "uisidebar")
Arguments
... |
Menu items. |
id |
The sidebar id class also used for update input on server side. Default is |
Details
It's possible to set selected menu item by setting 'selected = TRUE' in 'menuItem'.
Value
A sidebar menu that can be passed dashboardSidebar
Functions
-
sidebarMenu
: Create a sidebar menu (alias forsidebar_menu
for compatibility withshinydashboard
)
Examples
sidebarMenu(
menuItem(tabName = "plot_tab", text = "My plot", icon = icon("home")),
menuItem(tabName = "table_tab", text = "My table", icon = icon("smile"), selected = TRUE)
)
[Package semantic.dashboard version 0.2.1 Index]