CommandHandler.onRegistered method
CommandHandler › onRegistered
Called after the command has been registered with Obsidian. Subclasses use the provided context to register menu event handlers.Signature:
onRegistered(context: CommandHandlerRegistrationContext): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| context | CommandHandlerRegistrationContext | The registration context providing runtime capabilities. |