AutoCompleteJS is a JavaScript widget you can use to implement autocomplete on your website or web application.
Read more on the website:
AutoCompleteJS Widget
License: Other
AutoCompleteJS is a JavaScript widget you can use to implement autocomplete on your website or web application.
Read more on the website:
for large lists, should only inject as many DOM elements as view-able (+ some buffer) for the dropdown
similar to how SlickGrid works
default is true
Add some animation when token groups are added / removed
use CSS3 animations
Right now it's being treated as a "regular key" and resetting the option highlight to the top of the list. This is probably not what we want.
At the same time, we don't want to disable how it works in the input element, so we can't just kill the event.
or just figure out how you want that to work
will need to get the jQuery ajax extend thing working
.setConfig()
.getConfig()
.config() shorthand
that chain from one to the next, removing matched options along the way
also should allow the user to turn off smart matching completely for AJAX calls
also add it on initialConfig
where should this go? on the initial config? on every list?
one that sets a complex structure, not shorthand
onChange fires for every new token, but this isn't useful if I only care about complete token groups. An event that fires when a token group is complete would be useful because that's when I would want to fire off an AJAX request.
Need to document all of the error codes so that people can find them in a search
Provide common fixes and reasons for the error
and allow them to change the value of the widget before it gets updated
that allows the user to simulate typing characters on the input field
could make a sweet demo showing functionality
also need a "selectHighlightedOption" and "moveHighlightUp / Down" methods
used for custom display purposes
Should catch this in the initial config validation.
need to put the config on the Option Object as well as the List Object
Need to figure out how we want to deal with sorting options.
They're stored in an array, so they have order.
They get displayed based on the order of the matchOptions functions, but the order in which those functions find them is the order they're stored in the array.
There's also the addOption method, which pushes a new option onto the end of the array. Maybe an optional third argument to that function could be a sort function for the list once the option has been added.
Maybe I should provide a general purpose "map" method for options so the user can pass in a function that gets applied to all options in a list?
Also an idea to punt on this issue and make the user sort their own options. If they want to add an option and then sort they need to update the whole list.
Need to get the basic CSS to be not dependent on bootstrap defaults.
Also think I should make the base CSS pure CSS and not depend on LESS.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.