SettingsTabs.onTabChange method
SettingsTabs › onTabChange
Sets the callback to be called when the user selects another tab.Signature:
onTabChange(callback: (tabId: string) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| callback | (tabId: string) => void | The callback, given the id of the selected tab. |
Returns: this — The tabs.