ui.remove_nav_panel

ui.remove_nav_panel(id, target, session=None)

Remove a nav item from a navigation container.

Parameters

id : str

The id of the relevant navigation container (i.e., navset_*() object).

target : str

The value of an existing shiny.ui.nav_panel item to remove.

session : Optional[Session] = None

A Session instance. If not provided, it is inferred via get_current_session.

Note

See insert_nav_panel for an example.

See Also

insert_nav_panel update_nav_panel nav_panel