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 CommandSwitchesProviderSignature:
type CommandSwitchesProvider = () => CommandSwitches | nullType: () => CommandSwitches | null
Links to this page: