Skip to content

ElectronProvider.spellCheck method

ElectronProvider › spellCheck

Unofficial

Runs spell checking asynchronously on an array of individual words and reports the misspelt ones.

Signature:

spellCheck(words: string[], callback: (misspeltWords: string[]) => void): void

Parameters:

ParameterTypeDescription
wordsstring[]The words to spell check.
callback(misspeltWords: string[]) => voidCalled with the array of misspelt words when spell checking completes.

Returns: void