Skip to main content
A default tab menu can be defined in the app configuration and can be overwritten dynamically as required. Alternatively, the configuration can be left blank and all tab menus set by the website. The visibility of the tab menu can also be toggled dynamically at runtime.

Implementation guide

Select a tab

Note: Tabs are 0-indexed, so median.tabNavigation.selectTab(1) selects the second tab. Parameters
number
required
Position of the tab to select, starting at 0. Pass it as the only argument.

Deselect all tabs

Set or change the tab buttons

Parameters
boolean
Set to true to show the tab menu, or false to hide it.
object[]
The tabs to show. These replace the current tabs.

Hide the tab menu

Last modified on December 1, 2026