search

Class 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_lookupFunction(Function|null|undefined)

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_language(string|undefined)

Content language.

Instance Methods

Instance Properties

Static Properties

Classes

Enumerations