CommandRegistrar
A registrar for commands.
Import:
import type { CommandRegistrar } from 'obsidian-dev-utils/obsidian/command-registrar';Signature:
export interface CommandRegistrarMethods
| Method | Returns | Description |
|---|---|---|
| addCommand(command) | void | Adds a command to the registrar. |
| removeCommand(commandId) | void | Removes a command from the registrar. |
Links to this page: