AutoCompleteConfig: {
    closeOnBlur?: boolean;
    explicitOnly?: boolean;
    filter: CompletionFilter;
    preferAbove?: boolean;
}

Type declaration

  • Optional closeOnBlur?: boolean

    Whether the tooltip is closed when the textarea loses focus. Defaults to true.

  • Optional explicitOnly?: boolean

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

  • filter: CompletionFilter

    Function used to filter and rank options.

  • Optional preferAbove?: boolean

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

Generated using TypeDoc