Cool and easy to autocomplete library. ⚡️
<script src="./leblebi.js"></script>
"target" your input element "source" your data
var keywords = [
{ tag: 'Leblebi' },
{ tag: 'Çelebice' },
{ tag: 'İlelebet' },
{ tag: 'Kalebent' },
{ tag: 'Plebisit' }
];
leblebi({
target: '.search',
source: keywords,
field: 'tag'
});
var keywords = ['Leblebi', 'Çelebice', 'İlelebet', 'Kalebent', 'Plebisit'];
leblebi({
target: '.search',
source: keywords
});
var keywords = ['Leblebi', 'Çelebice', 'İlelebet', 'Kalebent', 'Plebisit'];
$('.search').leblebi({source:keywords});