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

show certain days as events #65

Open
harsh-vardhhan opened this issue Oct 16, 2015 · 5 comments
Open

show certain days as events #65

harsh-vardhhan opened this issue Oct 16, 2015 · 5 comments

Comments

@harsh-vardhhan
Copy link

How can I show certain days as highlighted

@chmartinez
Copy link

I would suggest you do something similar to the disabled dates functionality, and instead of adding the "disabled" class to the date, add an "special-day" class.
Here: https://github.com/chmartinez/angular-pickadate. Take a look and tell me if it fits your needs. Hope it helps!

@sbluday
Copy link

sbluday commented Nov 16, 2016

@chmartinez Your fork doesn't adding the special-day class

@sbluday
Copy link

sbluday commented Nov 16, 2016

@chmartinez Worked in non-minified version. Weird. Idk. Have to check.

@mpospelov
Copy link

Hello.

I created the functionality suitable for this case
https://github.com/mpospelov/angular-pickadate/commit/45041e24cb43991f8deedafbf9fb950861cda8d5

Here you can check the commit. I can create PR if you want.

It's just allows to put custom function which will accept a day and return the array of classes. Check the tests for more details

@chmartinez
Copy link

+1. Waay cleaner than my version. Thanks @mpospelov

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

No branches or pull requests

4 participants