Skip to content

ShowPopoverParams<Value>

Parameters for showPopover.

Import:

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

Signature:

export interface ShowPopoverParams<Value>

Properties

PropertyTypeDescription
anchorPopoverAnchorWhere to place the popover.
build(params: ShowPopoverBuildParams) => PopoverValueGetter<Value>Populates the popover's content.
cancelButtonText?stringA text for the "Cancel" button.
cssClasses?string[]Additional CSS classes to apply to the popover.
okButtonText?stringA text for the "OK" button.

Links to this page: