Paul-DS / bootstrap-year-calendar

[DEPRECATED] A fully customizable year calendar widget, for boostrap !
Apache License 2.0
294 stars 243 forks source link

Need event for when you click on a day of the week #261

Open michaelonz opened 4 years ago

michaelonz commented 4 years ago

Hi, Is it possible to have an event raised when the user clicks on a day of the week - eg when i am in annual view and it shows

        JANUARY 

SU MO TU WE TH FR SA
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

i want to know that the user clicked on one of those header days (so i can set an entry for every say Wednesday of the month they clicked on). It would be nice if they clicked on say 'WE' (wednesday) above then the event fired and passed in an array of days for the day they clicked - eg in the calendar sample if they click wednesday then the array would have dates of: 3 Jan 2020, 10 Jan 2020, 17 Jan 2020,24 Jan 2020, 31 Jan 2020.

I would also like an event for when the user clicks on "JANUARY" (or any other month) so that i can set an entry for every day of the month of January. This should also pass in an array of dates - in this case 31 days.