Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

Support for unavailable hours in Week and Day view. #418

Closed
Sh1d0w opened this issue Aug 8, 2016 · 1 comment
Closed

Support for unavailable hours in Week and Day view. #418

Sh1d0w opened this issue Aug 8, 2016 · 1 comment
Milestone

Comments

@Sh1d0w
Copy link

Sh1d0w commented Aug 8, 2016

Feature request:

@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?

Kind regards.

@mattlewis92
Copy link
Owner

I can see the value in this and it's pretty trivial to add 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants