Learn R Programming

semantic.dashboard (version 0.1.5)

tab_items: Create a panel with tabs.

Description

Create a panel with tabs.

Usage

tab_items(..., selected = 1)

tabItems(..., selected = 1)

Arguments

...

Tabs.

selected

Which tab should be active on start.

Value

A panel with tabs that can be passed to dashboardBody

Functions

  • tabItems: Create a panel with tabs (alias for tab_items for compatibility with shinydashboard)

Examples

Run this code
# NOT RUN {
tabItems(
 tabItem(tabName = "tab1", "Tab 1"),
 tabItem(tabName = "tab2", "Tab 2"))
# }

Run the code above in your browser using DataLab