DemoVaultButtonResult
The outcome of clicking one button.
Import:
import type { DemoVaultButtonResult } from 'obsidian-dev-utils/script-utils/demo-vault-buttons';Signature:
export interface DemoVaultButtonResultProperties
| Property | Type | Description |
|---|---|---|
| caption | string | The button's caption, as rendered. |
| output | string | The 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: