Skip to content

CommandSwitchesProvider

Resolves the user’s command switches at the moment a menu is built.

Import:

import type { CommandSwitchesProvider } from '@mnaoumov/obsidian-lib/command-handlers/command-handler';

Signature:

export type CommandSwitchesProvider

Signature:

type CommandSwitchesProvider = () => CommandSwitches | null

Type: () => CommandSwitches | null


Links to this page: