nggepe / calendar-gc

A jquery calendar library
https://nggepe.github.io/calendar-gc/
MIT License
23 stars 7 forks source link

Specify date on initialization #11

Open FRvanderVeen opened 1 year ago

FRvanderVeen commented 1 year ago

I think it would be nice to be able to directly set the date via the options when you initialize the calendar. Currently, if you want to change the date after initialization, you would need to call the setDate method. But that will cause 2 renders after each other. If youcan specify it via the options you could save a render, which will speed up things seen from a performance perspective.