Auto complete plugin from dictionary with no external dependencies
JavaScript CSS Python Shell
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
demo styled README more Nov 26, 2013
dict First version of AutoJS Nov 16, 2013
AUTHORS.md Included AUTHORS.md Nov 28, 2013
LICENSE First version of AutoJS Nov 16, 2013
README.md more details for developers on where to start, TODO Nov 28, 2013
TODO more details for developers on where to start, TODO Nov 28, 2013
auto.max.js excludes symbols from autocompletion, increased autocomplete delay fo… Nov 28, 2013
auto.max.js.gz excludes symbols from autocompletion, increased autocomplete delay fo… Nov 28, 2013
auto.max.min.js excludes symbols from autocompletion, increased autocomplete delay fo… Nov 28, 2013
auto.max.min.js.gz excludes symbols from autocompletion, increased autocomplete delay fo… Nov 28, 2013
auto.micro.js excludes symbols from autocompletion, increased autocomplete delay fo… Nov 28, 2013
auto.micro.js.gz excludes symbols from autocompletion, increased autocomplete delay fo… Nov 28, 2013
auto.micro.min.js excludes symbols from autocompletion, increased autocomplete delay fo… Nov 28, 2013
auto.micro.min.js.gz excludes symbols from autocompletion, increased autocomplete delay fo… Nov 28, 2013
auto.standard.js excludes symbols from autocompletion, increased autocomplete delay fo… Nov 28, 2013
auto.standard.js.gz excludes symbols from autocompletion, increased autocomplete delay fo… Nov 28, 2013
auto.standard.min.js excludes symbols from autocompletion, increased autocomplete delay fo… Nov 28, 2013
auto.standard.min.js.gz excludes symbols from autocompletion, increased autocomplete delay fo… Nov 28, 2013
compress.sh min.gz files to be updated through compress.sh Nov 26, 2013

README.md

AutoJS v0.9.2


AutoJS

AutoJS is a library to continuously autocomplete textarea based on a standard dictionary. Dictionary has been deviced based on researches and linguistic methods, keeping an eye on minimizing the size of the library. Complete project is written in plain js, with no external dependencies, and it's size is reduced to mere 6kb.

NB: Completes each suggested word on a right arrow (→) press.

Installation and Usage


Its pretty straight forward.

  • Include the js on the head.
  • Call the AutoSuggestControl on page load. Alternatively, you can do it on jQuery.ready()
      window.onload = function () {
          var area = new AutoSuggestControl("text-area");    
          }

You can either specify the id of the element or the selected element itself. Thanks to @samshull

License


This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text.

References


Developers


** Welcome! **

Feel free to fork and send pull requests. There is a very good chance of getting accepted, if found working and useful.

NB: Just run the ** compress.sh ** if possible (needs yuicompressor nodejs module and tar - for update all min and compressed files), before you send in the pull request.

Check TODO file or the issues logged into github