Determine if autocomplete is showing?


Is there an idiomatic way to determine is the autocomplete pop-up is showing?

Right now I’m inspecting the DOM to determine this, but I suspect there is probably a faster / cleaner way.

Anyone know?



Here’s how autocomplete do in its own test suite


I agree with @jeancroy, using the DOM is probably the best bet unless there is an event you can connect to. (Which I don’t think there is.)