UNPKG

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

45 lines (44 loc) 1.41 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { PreventableEvent } from './preventable-event'; /** * Represents the arguments for the `slotDragStart` event. * * The event is preventable. If prevented, subsequent `slotDrag`, `slotDragEnd`, and `slotSelectionChange` events will not be fired. */ export class SlotDragStartEvent extends PreventableEvent { /** * Provides the start date of the slot selection. */ start; /** * Provides the end date of the slot selection. */ end; /** * Indicates if the slot selection consists of all-day slots, or of time slots. */ isAllDay; /** * Provides the resources for the slot, if grouping by resource; otherwise all Scheduler resources. */ resources; /** * Provides the original DOM event. */ originalEvent; /** * Provides a reference to the Scheduler instance that triggered the event. */ sender; /** * @hidden */ constructor(sender, args) { super(); this.sender = sender; Object.assign(this, args); } }