@keenmate/web-multiselect 1.12.0-rc08 → 2.0.0-rc01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -6
- package/custom-elements.json +6591 -0
- package/dist/index.d.ts +191 -298
- package/dist/multiselect.js +2409 -2141
- package/dist/multiselect.umd.js +23 -20
- package/docs/examples.md +2 -2
- package/docs/usage.md +396 -339
- package/package.json +16 -4
- package/vscode.css-custom-data.json +1615 -0
- package/vscode.html-custom-data.json +443 -0
- package/web-types.json +2113 -0
package/docs/examples.md
CHANGED
|
@@ -166,8 +166,8 @@ Show popular items initially, then switch to full database search when the user
|
|
|
166
166
|
};
|
|
167
167
|
|
|
168
168
|
// Search full database when user types 3+ characters
|
|
169
|
-
select.
|
|
170
|
-
const response = await fetch(`/api/frameworks/search?q=${searchTerm}
|
|
169
|
+
select.searchCallback = async (searchTerm, signal) => {
|
|
170
|
+
const response = await fetch(`/api/frameworks/search?q=${searchTerm}`, { signal });
|
|
171
171
|
return await response.json();
|
|
172
172
|
};
|
|
173
173
|
</script>
|