UNPKG

@syncfusion/ej2-angular-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. for Angular

53 lines (52 loc) 2.2 kB
import { ViewContainerRef } from '@angular/core'; import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base'; import * as i0 from "@angular/core"; /** * `e-header-rows` directive represent a header rows of the Schedule. * It must be contained in a Schedule component(`ejs-schedule`). * ```html * <ejs-schedule> * <e-header-rows> * <e-header-row option='Week'></e-header-row> * <e-header-row option='Date'></e-header-row> * </e-header-rows> * </ejs-schedule> * ``` */ export declare class HeaderRowDirective extends ComplexBase<HeaderRowDirective> { private viewContainerRef; directivePropList: any; /** * It defines the header row type, which accepts either of the following values. * * `Year`: Denotes the year row in the header bar. * * `Month`: Denotes the month row in the header bar. * * `Week`: Denotes the week row in the header bar. * * `Date`: Denotes the date row in the header bar. * * `Hour`: Denotes the hour row in the header bar. * @default null */ option: any; /** * Template option to customize the individual header rows. It accepts either the string or HTMLElement as template design * content and parse it appropriately before displaying it onto the header cells. The field that * can be accessed via this template is `date`. * @default null * @angulartype string | object * @reacttype string | function | JSX.Element * @vuetype string | function * @asptype string */ template: any; constructor(viewContainerRef: ViewContainerRef); static ɵfac: i0.ɵɵFactoryDeclaration<HeaderRowDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderRowDirective, "e-header-rows>e-header-row", never, { "option": "option"; "template": "template"; }, {}, ["template"]>; } /** * HeaderRow Array Directive * @private */ export declare class HeaderRowsDirective extends ArrayBase<HeaderRowsDirective> { constructor(); static ɵfac: i0.ɵɵFactoryDeclaration<HeaderRowsDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderRowsDirective, "ejs-schedule>e-header-rows", never, {}, {}, ["children"]>; }