eureka2 / ab-datepicker

An accessible and bootstrap compatible datepicker
MIT License
63 stars 55 forks source link

not able to capture ab.datepicker.closed event #44

Closed rakeshy3 closed 5 years ago

rakeshy3 commented 5 years ago

I want to do some stuff inside ab.datepicker.closed callback method. But it is not triggered.

eureka2 commented 5 years ago

ab.datepicker.closed is not a callback method. It's an event that is triggered on the calendar portion of the datepicker.

If you want to capture this event, try something like : $(\<your data selector>).parent().parent().find('.datepicker-calendar').on('ab.datepicker.closed', function() { // your stuff here });

rakeshy3 commented 5 years ago

done