@progress/kendo-angular-scheduler
Version:
Kendo UI Scheduler Angular - Outlook or Google-style angular scheduler calendar. Full-featured and customizable embedded scheduling from the creator developers trust for professional UI components.
38 lines (37 loc) • 1.15 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* An interface for the resources of the Scheduler.
*/
export interface Resource {
/**
* The resource name. If not set, the value of the `field` option is used.
*/
name?: string;
/**
* The field name of the event that contains the resource value.
*/
field: string;
/**
* The resource data.
*/
data: any[];
/**
* The field name from the data that contains the resource value.
*/
valueField: string;
/**
* The field name from the data that contains the resource text.
*/
textField: string;
/**
* The field name from the data that contains the resource color.
*/
colorField?: string;
/**
* Specifies if the events have multiple resource values.
*/
multiple?: boolean;
}