ShowPopoverBuildParams
The tools handed to ShowPopoverParams.build for populating a popover.
Import:
import type { ShowPopoverBuildParams } from 'obsidian-dev-utils/obsidian/popovers/popover';Signature:
export interface ShowPopoverBuildParamsProperties
| Property | Type | Description |
|---|---|---|
| contentEl | HTMLElement | The element to add the popover's content to. The OK and Cancel buttons are appended after it. |
Methods
| Method | Returns | Description |
|---|---|---|
| cancel(this) | void | Dismisses the popover, resolving it with null, as the Cancel button does. |
| confirm(this) | void | Confirms the popover, resolving it with the built value, as the OK button does. |