Skip to content

SettingsTab

A tab of SettingsTabs.

Import:

import type { SettingsTab } from '@mnaoumov/obsidian-lib/settings-tabs';

Signature:

export interface SettingsTab

Properties

PropertyTypeDescription
icon?stringThe name of an Obsidian icon shown before the name.
idstringThe id of the tab, unique among the tabs.
namestringThe name shown on the tab button.
render(containerEl: HTMLElement) => voidRenders the tab's settings into the panel, which is empty each time the tab is selected.