Skip to content

WorkspaceProtocolHandler.showConfirmModal method

WorkspaceProtocolHandler › showConfirmModal

Unofficial

Show the confirmation modal for an untrusted action and resolve whether to proceed.

Signature:

showConfirmModal(params: ObsidianProtocolData): Promise<boolean>

Parameters:

Parameter Type Description
params ObsidianProtocolData The parsed URI action parameters.

Returns: Promise<boolean>A promise that resolves to whether the action should proceed.