Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day Highlighting #120

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

Conversation

christianlent
Copy link

Small change to accept an array of days that will be highlighted by the calendar. The highlight class is configurable in the usual way.

Performance is O(n) based on highlightedDays length. It could be close to constant time if isHighlightedDay was refactored to use the day as an object lookup.

@hesalx
Copy link

hesalx commented Sep 1, 2015

👍 Useful for ranges.

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

Successfully merging this pull request may close these issues.

2 participants