showPopover<Value>
Displays a popover at the given anchor and resolves with the built value, or null if it was dismissed without confirming.
Import:
import { showPopover } from 'obsidian-dev-utils/obsidian/popovers/popover';Signature:
function showPopover(params: ShowPopoverParams<Value>): Promise<Value | null>Parameters:
| Parameter | Type | Description |
|---|---|---|
params | ShowPopoverParams<Value> | The parameters for the popover. |
Returns: Promise<Value | null> — A Promise that resolves with the built value, or null if dismissed.
Links to this page: