This would be useful on a calendar when selecting a range between two dates.
How does it work?
Firstly I add an index to each table cell using a
A function that triggers on hover of a table cell checks whether the first date has been selected. At its simplest, using
slice I add the class
.hovering to those indexes between the selected and hover.