search

goog.spell.SpellCheck

Provided By
Extends
All Implemented Interfaces

Support class for spell checker components. Provides basic functionality such as word lookup and caching.

new SpellCheck( opt_lookupFunction, opt_language )

Parameters
opt_lookupFunctionfunction(Array<string>, goog.spell.SpellCheck, Function): ?=

Function to use for word lookup. Must accept an array of words, an object reference and a callback function as parameters. It must also call the callback function (as a method on the object), once ready, with an array containing the original words, their spelling status and optionally an array of suggestions.

opt_languagestring=

Content language.

Instance Methods

Instance Properties

Static Properties

Classes

Enumerations