AutoCompleteConfig
AutoCompleteConfig =
object
Defined in: extensions/autocomplete/types.ts:163
Properties
Section titled “Properties”closeOnBlur?
Section titled “closeOnBlur?”
optionalcloseOnBlur:boolean
Defined in: extensions/autocomplete/types.ts:174
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:179
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:165
Function used to filter and rank options.
preferAbove?
Section titled “preferAbove?”
optionalpreferAbove: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.