ShowPopoverParams<Value>
Parameters for showPopover.
Import:
import type { ShowPopoverParams } from '@mnaoumov/obsidian-lib/popovers/popover';Signature:
export interface ShowPopoverParams<Value>Properties
| Property | Type | Description |
|---|---|---|
| anchor | PopoverAnchor | Where to place the popover. |
| build | (params: ShowPopoverBuildParams) => PopoverValueGetter<Value> | Populates the popover's content. |
| 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. |
Links to this page: