chrono-calendar
Version:
A modern, responsive, and customizable calendar library for **Angular** applications. Built with **Signals** and **standalone components** for simple and performant integration.
22 lines (21 loc) • 482 B
TypeScript
import { DateTime } from 'luxon';
export type ViewType = 'monthly' | 'weekly' | 'daily';
export interface CalendarEvent {
id: string | number;
title: string;
start: DateTime;
end: DateTime;
color?: string;
layout?: {
width: number;
left: number;
column: number;
totalColumns: number;
};
}
export interface CalendarDay {
date: DateTime;
events: CalendarEvent[];
isToday: boolean;
isCurrentMonth: boolean;
}