Baremetrics / calendar

Date range picker for Baremetrics
MIT License
679 stars 78 forks source link

Dynamic earliest_date and latest_date #88

Closed ranvithm closed 6 years ago

ranvithm commented 6 years ago

Hi,

I want dynamic dynamic earliest_date and latest_date.

kalepail commented 6 years ago

Just set them whenever you need them to change!

Cal.earliest_date = new_start_date
Cal.latest_date = new_end_date

Depending on how it's displaying in the page you may also need to run Cal.calendarSetDates()