Skip to contents

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

if (FALSE) { # \dontrun{
update_ds_tabs(session, "my_tabs", selected = "overview")
} # }