js-year-calendar
Version:
A fully customizable year calendar widget
18 lines (15 loc) • 409 B
text/typescript
import CalendarDataSourceElement from './CalendarDataSourceElement'
export default interface CalendarDayEventObject<T extends CalendarDataSourceElement> {
/**
* The element that contain the fired day.
*/
element: HTMLElement;
/**
* The fired date.
*/
date: Date;
/**
* The data source elements present on the fired day.
*/
events: T[];
}