Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

Added option to emphasize some featured dates #129

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FabianScheidt
Copy link

I needed a way to emphasize some days in the calender so I extended the plugin to "feature" some dates using a css class.
If you think this is useful, I'd be happy if you accept this pull request. I wrote unit tests and extended the documentation for this feature.

@renesteeman
Copy link

I was just looking for that functionality. It would indeed be a great addition.

@chtheis
Copy link

chtheis commented Nov 19, 2018

I was looking into user defined classes, too: people book accommodation for an event and in the calendar I want to mark the period the event takes place. But instead of adding more and more classes to the code base I pass the date to the method createItem and inside that method I call an optional callback onCreateItem which returns an array with the classes to set.

slackero added a commit to slackero/datepicker that referenced this pull request Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants