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

How do I show the selected day in week view? #222

Closed
SteveDunlap13 opened this issue May 30, 2017 · 2 comments
Closed

How do I show the selected day in week view? #222

SteveDunlap13 opened this issue May 30, 2017 · 2 comments

Comments

@SteveDunlap13
Copy link

SteveDunlap13 commented May 30, 2017

I see the class cal-today applied if its the current day (and other class applied to the other days in the week view).
How do I apply a different class to a selected day (background-color)?
i.e.
[class.cal-today]="day.isToday"

mattlewis92 pushed a commit that referenced this issue Jun 25, 2017
BREAKING CHANGE: the `dayClicked` output has been replaced with the `dayHeaderClicked` output. To migrate:

Before:
```
(dayClicked)="clickedDate = $event.date"
```

After:
```
(dayHeaderClicked)="clickedDate = $event.day.date"
```

Closes #222
@mattlewis92
Copy link
Owner

Sorry about the late reply on this one! I've just released 0.18.1 which should now let you do this. I've put together a plunker that demonstrates how to use the API here: http://plnkr.co/edit/xbRlY64TuCIIL1ZDKgoj?p=preview

Hope that helps! 😄

@SteveDunlap13
Copy link
Author

SteveDunlap13 commented Jun 25, 2017 via email

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

2 participants