update_ds_tabs: Update Tabs Input

View source: R/ds-tabs.R

update_ds_tabsR Documentation

Update Tabs Input

Description

Change the selected tab from the server.

Usage

update_ds_tabs(
  session = shiny::getDefaultReactiveDomain(),
  inputId,
  selected = NULL
)

Arguments

session

The Shiny session object

inputId

The input ID of the tabs component

selected

The value of the tab to select

Value

Called for its side effect. Returns NULL invisibly.

Examples

## Not run: 
update_ds_tabs(session, "my_tabs", selected = "overview")

## End(Not run)

shinyds documentation built on Aug. 22, 2026, 5:08 p.m.