Comments (6)
Could you give an example and/or some code? I don't get what you mean.
from autocomplete.
@maxiloc to use the standalone destroy method you must use var autocompleteInstance = autocomplete()..; autocompleteInstance.autocomplete.destroy()
from autocomplete.
@maxiloc to use the standalone destroy method you must use var autocompleteInstance = autocomplete()..; autocompleteInstance.autocomplete.destroy()
Yeah, not very convenient; isn't it?
from autocomplete.
@redox All of the methods like setVal, destroy are on the .autocomplete sub property. We can make it better but as far as this issue, the destroy method is working.
Then how the various methods are exposed that's maybe another issue?
from autocomplete.
This is documented like that today: https://github.com/algolia/autocomplete.js#standalone-version
from autocomplete.
This is documented like that today: https://github.com/algolia/autocomplete.js#standalone-version
OK, indeed; that works.
from autocomplete.
Related Issues (20)
- `id` setting should apply to the form element too
- Set search input height in Parcel bundler. HOT 4
- Plugins createAutocomplete HOT 4
- onSelect() called after getSources(), causing a closing delay of the dropdown
- Sending events in the render function
- aria-labelledby on the input element fails WCAG checks because the target button has no text
- Detached mode - entered text is present in two places HOT 1
- Korean text disappears from the input box. HOT 11
- In detached mode when there are no items, the dropdown still appears HOT 4
- VUE Autocomplete return instead of JSX from a VUE Component HOT 1
- Autocomplete box doesn't work with fixed positioning
- Autocomplete returning empty result HOT 1
- onSelect item should trigger store.pendingRequests.cancelAll(); HOT 1
- `yarn add @algolia/autocomplete-js` produces a bunch of unmet peer dependency warnings HOT 2
- Migration from 0 to v1 is about to end my reliance on this control HOT 1
- Autocomplete panel not close on clicking outside in react 18 HOT 3
- "insight:true" shows error in createAutocomplete with NextJS React18 HOT 2
- Issue in Autocomplete inside custom element (web component) using React instant search
- Autocomplete Plugin: createQuerySuggestionsPlugin no support in React 18.
- TypeError: Cannot read properties of null (onKeyDown.js) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autocomplete.