Skip to content

ShowPopoverBuildParams

The tools handed to ShowPopoverParams.build for populating a popover.

Import:

import type { ShowPopoverBuildParams } from '@mnaoumov/obsidian-lib/popovers/popover';

Signature:

export interface ShowPopoverBuildParams

Properties

PropertyTypeDescription
cancel() => voidDismisses the popover, resolving it with null, as the Cancel button does.
confirm() => voidConfirms the popover, resolving it with the built value, as the OK button does.
contentElHTMLElementThe element to add the popover's content to. The OK and Cancel buttons are appended after it.

Links to this page: