GithubHelp home page GithubHelp logo

leison / autojs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from atmb4u/autojs

0.0 2.0 0.0 1.17 MB

Auto complete plugin from dictionary with no external dependencies

Home Page: http://atmb4u.github.io/AutoJS

License: BSD 3-Clause "New" or "Revised" License

autojs's Introduction

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

autojs's People

Contributors

atmb4u avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.