Plugin documentation lacks some info #312
gsarigul84
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'd like to point out that there are some details missing in the plugin documentation. I haven't had time to check everything yet, but I noticed a few points regarding the select plugin. Some options, such as "searchWrapperClasses," are not mentioned in the documentation.
Additionally, the documentation insists on getting an instance and attaching an event listener to it to catch the change event. While this is the normal approach if you want to modify something in the select, it didn't work for my case. After a couple of failed attempts with onchange="", I decided to dig into the code to find out how it's triggered. The event in question is not "change" but "change.hs.select". In the end, I was able to achieve something like this, which works:
I couldn't find anything on how to contribute to the documentation. It would definitely be helpful for everyone if we could contribute and fill the documentation with use cases, examples, or missing details.
Preline is beautiful, examples are good and everything just works unless you try something not documented.
Thank you for your effort and good work.
Beta Was this translation helpful? Give feedback.
All reactions