summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/example.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/example.html b/example/example.html
index 225105d..1127b49 100644
--- a/example/example.html
+++ b/example/example.html
@@ -23,7 +23,7 @@
const ac = new Autocomplete(field, {
data: [{label: "I'm a label", value: 42}],
maximumItems: 5,
- treshold: 1,
+ threshold: 1,
onSelectItem: ({label, value}) => {
console.log("user selected:", label, value);
}