In an Angular project a while back I needed to display a full screen calendar like the one in outlook. So as a good lazy developer I start looking ...
For further actions, you may consider blocking this person and/or reporting abuse
Thanks for your solution
Good job!
Thank you :)
This piece of code here is so cool
weekDays.push(days)
if (++index % chunkSize === 0) {
calendarDays.push(weekDays);
weekDays = [];
}
Thank you herrigor, I hope you find it useful :)
Thank you for your post it was very helpful. I added a method to determine the exact number of days for the number day in the calendar instead of 42 in generateCalendarDays and thought I would pass it on:
/**
Looks good man
Thank you Don, glad you like it!
This is amazing 🎉🎉
You did great Ricky!
Many thanks :)
Very nice
Hi Ricky. It's awesome. Just wanted to know why we use map instead of foreach in pipe. Am new in angular
Hi surajKurade!
For this example it wouldn't make any difference to be honest. Map and ForEach both iterate the array and apply the given function, their difference is that ForEach doesn't return a value just iterates the array and executes the given function on the elements but map will return a new array with the modified array.
Usually people are using map when they want to achieve immutability (they don't want to modify their array but to return a modified copy)
Example:
Hope this helps!
Thanks Ricky 👍
Hi Ricky, Can we create room and meeting booking in your good calendar ?
Hi @pkhussain sure you can use it as you like :) Just keep in mind that this is just a POC and might have bugs, I've never tested it thoroughly, so use with causion!
Great help!! Thanks :-)
Hi there! I'm looking at your implementation but It currently seems like the left and right arrows are skipping/incorrectly setting the months. Do you know why this might be happening?
Thank you for the code,
Is there any hint to like Monday, Tuesday, etc it in datatable?
I have difficulty to match the day just like on the calendar