ShowPopoverParams<Value>
Parameters for showPopover.
Import:
import type { ShowPopoverParams } from 'obsidian-dev-utils/obsidian/popovers/popover';Signature:
export interface ShowPopoverParams<Value>Properties
| Property | Type | Description |
|---|---|---|
| anchor | PopoverAnchor | Where to place the popover. |
| cancelButtonText? | string | A text for the "Cancel" button. |
| cssClasses? | string[] | Additional CSS classes to apply to the popover. |
| okButtonText? | string | A text for the "OK" button. |
Methods
| Method | Returns | Description |
|---|---|---|
| build(this, params) | PopoverValueGetter<Value> | Populates the popover's content. |
Links to this page: