@syncfusion/ej2-schedule
Version:
Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support.
32 lines (31 loc) • 1.09 kB
TypeScript
import { Schedule } from '../base/schedule';
import { VerticalView } from './vertical-view';
import { TdData, TimeSlotData } from '../base/interface';
/**
* timeline views
*/
export declare class TimelineViews extends VerticalView {
private timelineAppointment;
constructor(parent: Schedule);
protected getModuleName(): string;
getLeftPanelElement(): HTMLElement;
scrollTopPanel(target: HTMLElement): void;
scrollToWorkHour(): void;
scrollToHour(hour: string, scrollDate: Date): void;
generateColumnLevels(): TdData[][];
private generateTimeSlots;
changeCurrentTimePosition(): void;
private getLeftFromDateTime;
renderHeader(): void;
createAllDayRow(table: Element, tdData: TdData[]): void;
getCurrentTimeIndicatorIndex(): number[];
renderContent(): void;
private getRowCount;
private getResourceTdData;
renderContentTable(table: Element): void;
getContentRows(): Element[];
getContentTdClass(r: TimeSlotData): string[];
renderEvents(): void;
getAdjustedDate(date: Date): Date;
destroy(): void;
}