Skip to content

WorkspaceProtocolHandler.register method

WorkspaceProtocolHandler › register

Unofficial

Register a handler for an action.

Signature:

register(name: string, handler: ObsidianProtocolHandler, source?: string | undefined): void

Parameters:

ParameterTypeDescription
namestringThe action name.
handlerObsidianProtocolHandlerThe handler to invoke.
source?string | undefinedThe display name of the registering plugin.

Returns: void