@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.
57 lines (51 loc) • 1.66 kB
text/typescript
import { Property, ChildProperty } from '@syncfusion/ej2-base';
import { TemplateType } from '../base/type';
/**
* A class that defines the template options available to customize the quick popup of scheduler.
*/
export class QuickInfoTemplates extends ChildProperty<QuickInfoTemplates> {
/**
* Template option to customize the header section of quick popup.
* The applicable template types are,
* * `Both`: Denotes the template applies both to the event and cell.
* * `Cell`: Denotes the template applies only to the cell.
* * `Event`: Denotes the template applies to the event alone.
*
* @default 'Both'
*/
('Both')
public templateType: TemplateType;
/**
* Template option to customize the header section of quick popup.
*
* @default null
* @angularType string | object
* @reactType string | function | JSX.Element
* @vueType string | function
* @aspType string
*/
()
public header: string | Function;
/**
* Template option to customize the content area of the quick popup.
*
* @default null
* @angularType string | object
* @reactType string | function | JSX.Element
* @vueType string | function
* @aspType string
*/
()
public content: string | Function;
/**
* Template option to customize the footer section of quick popup.
*
* @default null
* @angularType string | object
* @reactType string | function | JSX.Element
* @vueType string | function
* @aspType string
*/
()
public footer: string | Function;
}