Skip to content

ShowPopoverParams<Value>

Parameters for showPopover.

Import:

import type { ShowPopoverParams } from 'obsidian-dev-utils/obsidian/popovers/popover';

Signature:

export interface ShowPopoverParams<Value>

Properties

PropertyTypeDescription
anchorPopoverAnchorWhere to place the popover.
cancelButtonText?stringA text for the "Cancel" button.
cssClasses?string[]Additional CSS classes to apply to the popover.
okButtonText?stringA text for the "OK" button.

Methods

MethodReturnsDescription
build(this, params)PopoverValueGetter<Value>Populates the popover's content.

Links to this page: