Missing hideDropdown(), showDropdown(), toggleDropdown,See original GitHub issue
Apologises if I’m misunderstanding something here, but I dont seem to be able to use the following functions on my
choices.hideDropdown() choices.showDropdown() choices.toggleDropdown()
They dont seem to be defined:
- Created 6 years ago
Top GitHub Comments
…I’m the biggest idiot in the world…
I was binding hideDropdown() to be when you clicked on the choices element… but of course that is bound to toggle by the core code…
derp… I fixed it by making a psuedo element
Sorry for the roundabout discussion 😃
Btw i’m really impressed with this module - it’s so well rounded and awesome! Here’s my final result (with the offending close button 😃)
Thank you again!
Haha. It may have done nothing because the dropdown was already closed?
If you look at the source of the demo page, you can see how these methods are being called.
There is also more info here.