The Wayback Machine - https://web.archive.org/web/20210724143027/https://github.com/topics/typeahead
Skip to content
#

typeahead

Here are 156 public repositories matching this topic...

ariademur
ariademur commented Mar 10, 2021

Hello,

Using vanilla JS, I noticed that "onUpdate" is being called on any event on the page, not only when the results list is updated, as the documentation states.

Here's a Codepen example forked from "Simple autocomplete - @trevoreyre/autocomplete-js"
https://codepen.io/ariademur/pen/wvoQErz

Even if clicking around the page, no relation to the autocomplete, the "onUpdate" is called.

Improve this page

Add a description, image, and links to the typeahead topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the typeahead topic, visit your repo's landing page and select "manage topics."

Learn more