CommandSwitchesControllerConstructorParams
Parameters for CommandSwitchesController.
Import:
import type { CommandSwitchesControllerConstructorParams } from '@mnaoumov/obsidian-lib/plugin/command-switches-controller';Signature:
export interface CommandSwitchesControllerConstructorParamsProperties
| 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. |
| pluginSettingsComponent | PluginSettingsComponentBase<object> | The settings component whose data.json stores the switches. |