Skip to content

Quick and easy javascript search

Notifications You must be signed in to change notification settings

deletify/deletify-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

deletify-search

quick and easy javascript search

demo

<!-- index.html -->
<input id="search-input" type="search" placeholder="Search..." autocomplete="off">
<ul id="results-container">
  <li><a href="#">Adele</a></li>
  <li><a href="#">Agnes</a></li>
  <li><a href="#">Billy</a></li>
  <li><a href="#">Bob</a></li>
  <li><a href="#">Calvin</a></li>
  <li><a href="#">Christina</a></li>
  <li><a href="#">Cindy</a></li>
</ul>
// main.js
const deletify_search = new DeletifySearch({
  searchInputId: 'search-input',
  resultsContainerId: 'results-container'
})