Skip to content

AutoCompleteConfig

AutoCompleteConfig = object

Defined in: extensions/autocomplete/types.ts:163

optional closeOnBlur: boolean

Defined in: extensions/autocomplete/types.ts:174

Whether the tooltip should close when the textarea loses focus. Defaults to true.


optional explicitOnly: boolean

Defined in: extensions/autocomplete/types.ts:179

If true, the tooltip will only be shown when explicitly opened using Ctrl+Space. Defaults to false.


filter: CompletionFilter

Defined in: extensions/autocomplete/types.ts:165

Function used to filter and rank options.


optional preferAbove: boolean

Defined in: extensions/autocomplete/types.ts:170

If true, the tooltip will be placed above the cursor when there’s space. Defaults to false.