Skip to content

FileInputSuggest.renderSuggestion method

FileInputSuggest › renderSuggestion

Renders a file: its name as the title and its path as the note, the matched characters highlighted.

Signature:

renderSuggestion(file: TFile, el: HTMLElement): void

Parameters:

ParameterTypeDescription
fileTFileThe file.
elHTMLElementThe element to render into.

Returns: void