PluginSettingsTabBaseAttachCommandSwitchesParams
Parameters for PluginSettingsTabBase.attachCommandSwitches.
Import:
import type { PluginSettingsTabBaseAttachCommandSwitchesParams } from '@mnaoumov/obsidian-lib/plugin/plugin-settings-tab';Signature:
export interface PluginSettingsTabBaseAttachCommandSwitchesParamsProperties
| Property | Type | Description |
|---|---|---|
| commandHandlerComponent | CommandHandlerComponent | The component that registered the commands the switches list. |
| defaultShouldAddCommandsToSubmenu | boolean | Whether the commands are grouped under one submenu entry while the user has not chosen. |