Skip to content

AutoCompleteConfig

AutoCompleteConfig = object

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

optional closeOnBlur: boolean

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

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


optional explicitOnly: boolean

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

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:159

Function used to filter and rank options.


optional preferAbove: boolean

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

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