Skip to content

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

PropertyTypeDescription
anchorPopoverAnchorWhere to place the popover.
cancelButtonText?stringA text for the "Cancel" button.
cssClasses?string[]Additional CSS classes to apply to the popover.
fieldsreadonly PopoverField<Key>[]The fields to edit, rendered top to bottom in the given order.
okButtonText?stringA text for the "OK" button.

Links to this page: