aspnetcore-js-devexpress-dot-richedit-130b93a9.md
Declares spell checking settings.
export interface ISpellCheck
See Also
Specifies a function that is called when a user clicks the Add to Dictionary context menu command.
addWordToDictionary?: (word: string) => void
| Type | Description |
|---|---|
| (word: string) => void |
A function that adds the selected word to the dictionary.
|
Specifies the function that checks a word.
checkWordSpelling?: (word: string, callback: (isCorrect: boolean, suggestions: string[]) => void) => void
| Type | Description |
|---|---|
| (word: string, callback: (isCorrect: boolean, suggestions: string[]) => void) => void |
A function that checks the selected word and then calls the callback function. The isCorrect parameter specifies whether the word is correct and the suggestions parameter lists alternatives.
|
Specifies whether the spell checking is enabled in the RichEdit control.
enabled?: boolean
| Type | Description |
|---|---|
| boolean |
true to enable spell check; otherwise, false.
|
The maximum number of suggested words that can be displayed in the context menu.
suggestionCount?: number
| Type | Description |
|---|---|
| number |
The number of words.
|