loading... Pacem JS

Search Input

PacemSearchInputElement is a native <input type="search"> whose value is the typed text. It can show a dropdown of recent searches and suggestions:

The element does not store anything: recent belongs to the app, which persists it as it likes (here a pacem-data with persist-as, bound two-way). Every edit assigns a new array and fires a recentchange event.