EditFieldsInPopoverParams<Key>
Parameters for editFieldsInPopover.
Import:
import type { EditFieldsInPopoverParams } from 'obsidian-dev-utils/obsidian/popovers/field-popover';Signature:
export interface EditFieldsInPopoverParams<Key extends string>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. |
| fields | readonly PopoverField<Key>[] | The fields to edit, rendered top to bottom in the given order. |
| okButtonText? | string | A text for the "OK" button. |
Links to this page: