Skip to content

EditorSuggestTriggerInfo

Official

The trigger info for the suggestion

Import:

import type { EditorSuggestTriggerInfo } from 'obsidian';

Signature:

export interface EditorSuggestTriggerInfo

Properties

Property Type Description
end EditorPosition The end position of the triggering text. This is used to position the popover.
query string They query string (usually the text between start and end) that will be used to generate the suggestion content.
start EditorPosition The start position of the triggering text. This is used to position the popover.

Links to this page: