Skip to content

PluginSettingsTabBaseAttachCommandSwitchesParams

Parameters for PluginSettingsTabBase.attachCommandSwitches.

Import:

import type { PluginSettingsTabBaseAttachCommandSwitchesParams } from '@mnaoumov/obsidian-lib/plugin/plugin-settings-tab';

Signature:

export interface PluginSettingsTabBaseAttachCommandSwitchesParams

Properties

PropertyTypeDescription
commandHandlerComponentCommandHandlerComponentThe component that registered the commands the switches list.
defaultShouldAddCommandsToSubmenubooleanWhether the commands are grouped under one submenu entry while the user has not chosen.