Interface SuggestionsConfiguration

interface SuggestionsConfiguration {
    numSuggestions?: number;
    suggestionNumChanges?: number;
    suggestionsTimeout?: number;
}

Hierarchy (view full)

Properties

numSuggestions?: number

Number of suggestions to make.

Default

10
suggestionNumChanges?: number

The maximum number of changes allowed on a word to be considered a suggestions.

For example, appending an s onto example -> examples is considered 1 change.

Range: between 1 and 5.

Default

3
suggestionsTimeout?: number

The maximum amount of time in milliseconds to generate suggestions for a word.

Default

500