Skip to content

UseInMemoryClipboardOptions

Options for Lib.useInMemoryClipboard.

Import:

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

Signature:

export interface UseInMemoryClipboardOptions

Properties

PropertyTypeDescription
html?stringThe HTML the clipboard holds when it is installed.
text?stringThe text the clipboard holds when it is installed.
window?WindowThe Obsidian window whose clipboard to replace: the main window or a popout. Each window has its own navigator.clipboard.

Links to this page: