Skip to content

LabelScreenshotOptions

Options for labelScreenshot.

Import:

import type { LabelScreenshotOptions } from 'obsidian-integration-testing';

Signature:

export interface LabelScreenshotOptions

Properties

PropertyTypeDescription
textstringThe caption. Keep it to a handful of words: it is read at listing-thumbnail size, and it is neither wrapped nor shrunk to fit — one that does not fit is REJECTED, with the measured width and the room available. Check a candidate with measureLabelCaption before committing to it.

Links to this page: