Activates the bs_nav_link() carrying selected as its value inside the
bs_nav() registered under id, and reports the change back as input$id.
Usage
update_bs_nav(id, selected = NULL, session = shiny::getDefaultReactiveDomain())Arguments
- id
Nav id, as passed to
bs_nav().- selected
valueof the link to activate.- session
The Shiny session.
Examples
if (interactive()) update_bs_nav("menu", selected = "profile")