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:

Parameter Type Description
name string The action name.
handler ObsidianProtocolHandler The handler to invoke.
source? string | undefined The display name of the registering plugin.

Returns: void