Functions to provide recommendations or auto-complete user input in forms. 💖
-
Web Browser
- Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera]. -
Internet
- Because many use CDN and to make it easier to find solutions to all problems.
const Autocomplete = require('./src/autocomplete');
// Example usage
const data = ['apple', 'banana', 'orange', 'pineapple', 'grape'];
const autocomplete = new Autocomplete(data);
// Searching for items
const result = autocomplete.search('a');
console.log(result); // Output: ['apple', 'banana', 'orange', 'grape']
- This package provides a simple autocomplete functionality for input fields. It takes an array of data as input and returns matching items based on the query string provided.
- The search method of the Autocomplete class returns an array containing the items that match the query string provided. If no match is found, it returns an empty array.
- v1.0.0 : 08 March 2024
- v1.0.1 : 11 March 2024
- v4.0.0 : 11 March 2024
- v4.0.1 : 14 March 2024
- v4.0.2 : 18 March 2024
- v5.0.0 : 31 March 2024
- Facebook : Oned Ionys
- Instagram : @onedionys
- Twitter : @onedionys
- LinkedIn : @onedionys
- Copyright © 2024 One Dionys
- One Dionys - Input Autocomplete is an open source project licensed under the MIT license
Love One Dionys - Input Autocomplete? Support this project by donating or sharing with others in need.
Made with ❤️ One Dionys