RenderCalloutParams
Options for renderCallout.
Import:
import type { RenderCalloutParams } from 'obsidian-dev-utils/obsidian/callout';Signature:
export interface RenderCalloutParamsProperties
| Property | Type | Description |
|---|---|---|
| abortSignal? | AbortSignal | An abort signal. |
| contentProvider? | ValueProvider<MaybeReturn<Node | string>> | An optional provider for the content, which can be either a string or a Node. |
| dv | DataviewInlineApi | A DataviewInlineApi instance. |
| header? | string | A header text of the callout, default is an empty string. |
| mode? | CalloutMode | A callout mode, default is CalloutMode.FoldableCollapsed. |
| type? | string | A type of the callout, default is "NOTE". |
Links to this page: