Skip to content

SettingsTabs.onTabChange method

SettingsTabs › onTabChange

Sets the callback to be called when the user selects another tab.

Signature:

onTabChange(callback: (tabId: string) => void): this

Parameters:

ParameterTypeDescription
callback(tabId: string) => voidThe callback, given the id of the selected tab.

Returns: this — The tabs.