Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Support for unavailable hours in Week and Day view. #418
@mattlewis92 is it possible to create callback function for rendering Week and Day view cells, just like the month and year cells?
The case is the following: Lets say you are using the calendar directive to allow customers to book given time ranges for visitations. But some time intervals are not available for visitors and you need a way to tell the calendar to mark them as unavailable by applying a css class for example.
For this to work I assume you should pass the configured time interval (e.g. 15, 30, 60 min etc) to a callback just before rendering the cell.
This feature will be useful for many users. I wonder if you tried to implement this before? Do you see any problems with the possible implementation and the idea?