Skip to content

DemoVaultButtonResult

The outcome of clicking one button.

Import:

import type { DemoVaultButtonResult } from 'obsidian-dev-utils/script-utils/demo-vault-buttons';

Signature:

export interface DemoVaultButtonResult

Properties

PropertyTypeDescription
captionstringThe button's caption, as rendered.
outputstringThe result line CodeScript Toolkit printed under the button, truncated.
status'error' | 'ok' | 'timeout' | 'unknown'Whether the button reported success, reported an error, or never reported at all.

Links to this page: