Skip to content

Comments

Day Highlighting#120

Open
christianlent wants to merge 1 commit intobevacqua:masterfrom
Acceptd:highlighting
Open

Day Highlighting#120
christianlent wants to merge 1 commit intobevacqua:masterfrom
Acceptd:highlighting

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