UNPKG

@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.

51 lines (50 loc) 1.89 kB
import { ChildProperty } from '@syncfusion/ej2-base'; /** * A class that represents the configuration of options related to timescale on scheduler. */ export declare class TimeScale extends ChildProperty<TimeScale> { /** * When set to `true`, allows the schedule to display the appointments accurately against the exact time duration. * If set to `false`, all the appointments of a day will be displayed one below the other. * * @default true */ enable: boolean; /** * Defines the time duration on which the time axis to be displayed either in 1 hour or 30 minutes interval and so on. * It accepts the values in minutes. * * @default 60 */ interval: number; /** * Decides the number of slot count to be split for the specified time interval duration. * * @default 2 */ slotCount: number; /** * The template option to be applied for minor time slot. Here, the * template accepts either the string or HTMLElement as template design and then the parsed design is displayed * onto the time cells. The time details can be accessed within this template. * * @default null * @angularType string | object * @reactType string | function | JSX.Element * @vueType string | function * @aspType string */ minorSlotTemplate: string | Function; /** * The template option to be applied for major time slot. Here, the * template accepts either the string or HTMLElement as template design and then the parsed design is displayed * onto the time cells. The time details can be accessed within this template. * * @default null * @angularType string | object * @reactType string | function | JSX.Element * @vueType string | function * @aspType string */ majorSlotTemplate: string | Function; }