AutoCompleteConfig
AutoCompleteConfig =
object
Defined in: extensions/autocomplete/types.ts:157
Properties
Section titled “Properties”closeOnBlur?
Section titled “closeOnBlur?”
optionalcloseOnBlur:boolean
Defined in: extensions/autocomplete/types.ts:168
Whether the tooltip should close when the textarea loses focus. Defaults to true.
explicitOnly?
Section titled “explicitOnly?”
optionalexplicitOnly: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
Section titled “filter”filter:
CompletionFilter
Defined in: extensions/autocomplete/types.ts:159
Function used to filter and rank options.
preferAbove?
Section titled “preferAbove?”
optionalpreferAbove: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.