combodate
combodate copied to clipboard
Events/Callbacks?
It would really be helpful if some life-cycle events were fired.
In my specific use case, I wanted to apply the select2 enhancements to my combodate. This had to be done after combodate finished altering the page markup.
As a temporary measure, I added a callback option, in order to pass in a function, and then called it from the bottom of the combodate
init method.
It is such a hack that I am ashamed to publish it! What is needed is a well thought out implementation — Callbacks vs events, etc. Hoping somebody might find time to do this