antoniandre / vue-cal

A Vue.js full calendar, no dependency, no BS. :metal:
https://antoniandre.github.io/vue-cal/
MIT License
1.23k stars 235 forks source link

Min/Max date arrow visibility #458

Closed rdrewniak-ld closed 2 years ago

rdrewniak-ld commented 2 years ago

Is there any existing functionality which allows a developer to disable the previous/next month arrows when min/max dates are defined? For example:

If I have a min date of Jan. 1st 100 years in the past, is there any way (short of a customized solution) to disable/hide the previous month arrow, when the user is on the min month?

rdrewniak-ld commented 2 years ago

As I thought about it, I decided to add a simple conditional class that checks for the min/max date views and adjusts the arrow element visibility accordingly.