View source: R/mod_switch_button.R
tabSwitchUI | R Documentation |
Create button to switch tabs
tabSwitchUI(.tab, id)
.tab |
The |
id |
The input variable to read value from. |
if (interactive()) { library(shinydashboard) library(magrittr) library(dcamodules) # add after tabItems via pipe %>% # or move tabItems inside of tabSwitchUI tabItems( tabItem(tabName = "awesome-tab") ) %>% tabSwitchUI() }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.