longbill / jquery-date-range-picker

A jQuery plugin that allows user to select a date range
MIT License
1.12k stars 579 forks source link

Way to check is datepicker opened or isn't #406

Open alexkarpxb opened 6 years ago

alexkarpxb commented 6 years ago

Hi, how I can check from the code datepicker status? (opened/closed)

shubh54 commented 6 years ago

'datepicker-closed' and 'datepicker-opened' are two events that are triggered after datepicker is opened or closed. You can use these two events to check state of datepicker.