Skip to content

LinkAndTagInputSuggestConstructorParams

Parameters of LinkAndTagInputSuggest.

Import:

import type { LinkAndTagInputSuggestConstructorParams } from '@mnaoumov/obsidian-lib/link-and-tag-input-suggest';

Signature:

export interface LinkAndTagInputSuggestConstructorParams

Properties

PropertyTypeDescription
appAppThe Obsidian app instance.
inputElHTMLInputElement | HTMLTextAreaElementThe element to complete in.
shouldSuggestLinks?booleanWhether [[ completes links. Defaults to true.
shouldSuggestTags?booleanWhether # completes tags. Defaults to true.
sourcePath?stringThe path that inserted links are relative to. Defaults to the vault root.