SpellCheckTextEventArgs Object
Description
The event argument for a spell check related event.
Syntax
{
text: <string>,
misspelledWords: <MisspelledWordInfo[]>
}Examples
The following example demonstrates SpellCheckTextEventArgs in a practical document-editing workflow. The event argument for a spell check related event.
function handleSpellCheckText(args) {
console.log("text:", args.text);
console.log("misspelled words:", args.misspelledWords);
}Members
Properties
| Property | Description |
|---|---|
| misspelledWords | An array of misspelled words. |
| text | The text to check. |