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.

32 lines (31 loc) 940 B
import { ChildProperty } from '@syncfusion/ej2-base'; /** * Configuration that applies on each appointment field options of scheduler. */ export declare class FieldOptions extends ChildProperty<FieldOptions> { /** * Denotes the field name to be mapped from the dataSource for every event fields. * * @default null */ name: string; /** * Assigns the specific default value to the fields, when no values are provided to those fields from dataSource. * * @default null */ default: string; /** * Assigns the label values to be displayed for the event editor fields. * * @default null */ title: string; /** * Defines the validation rules to be applied on the event fields within the event editor. * {% codeBlock src="schedule/validation-api/index.ts" %}{% endcodeBlock %} * * @default {} */ validation: Record<string, any>; }