Attaching beforeOpen, afterOpen, beforeClose, afterClose event code is mis-documented
Closed this issue · 3 comments
gjsjohnmurray commented
The index.html documentation lists beforeOpen, beforeClose, afterOpen and afterClose as events, to which listeners can be attached in the same way as to change, focus etc, i.e.
$(#id).scombobox('afterClose', function(){})
In fact this give a "No such method" error. Here's an example of how to attach a function to one of these four events:
$(#id).scombobox({afterClose: function(){console.log('afterClose');}});
ivkremer commented
Thank you, fixed.
gjsjohnmurray commented
I don't see any change in index.html yet.
ivkremer commented
I'm sorry, now it is delivered.