vkurko / calendar

Full-sized drag & drop JavaScript event calendar with resource & timeline views
https://vkurko.github.io/calendar/
MIT License
969 stars 82 forks source link

Could you add a method? #151

Closed pavelshikin closed 11 months ago

pavelshikin commented 11 months ago

We need a method that will help us choose a period (favorites) . Returns an information object with data, as if the dateClick event was triggered for this point.

vkurko commented 11 months ago

Have you looked at the dateFromPoint method? Also select is available for periods selection.

vkurko commented 11 months ago

I hope I can close this issue.

pavelshikin commented 11 months ago

Yes, thank you, the problem is partially solved. Of course, I would like the first click on the point to mean the beginning of the selection, and the second click to mean the end of the selection, and the period is highlighted as well as with SELECT