Skip to content

zackargyle/Javascript-Spell-Corrector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Javascript-Spell-Corrector

To use:

SpellCorrector.suggestSimilarWord(inputID, outputID);


JQUERY

<input type="text" id="input1" />
<h3 id="output1"></h3>

var suggestWord = function() {
    SpellCorrector.suggestSimilarWord("input1","output1");
}

$("#input1").on("change", suggestWord());

AngularJS

<input type="text" id="input1" ng-change="suggestWord()" />
<h3> {{suggestion}} </h3>

$scope.suggestWord = function() {
    $scope.suggestion = spellCheck.suggestSimilarWord("input1");
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors