WickyNilliams / cally

Small, feature-rich calendar components
https://wicky.nillia.ms/cally/
MIT License
1.06k stars 12 forks source link

Ability to set focused year/month #9

Closed WickyNilliams closed 2 months ago

WickyNilliams commented 3 months ago

It would be useful if there was some API available for setting the focused date. This could be exposing the focused date itself as a prop, or perhaps some imperative methods. There may be tradeoffs to each approach.

This would allow building of year and month selects (combined with the existing focusday event), so users can quickly navigate to far away dates without a lot of paging