New to Kendo UI for Vue? Start a free 30-day trial

Represents the Kendo UI for Vue SchedulerViewSlot component. Use it in a custom view slot template to change the view-specific layout of a Scheduler slot, such as its height (see example).

Definition

Package:@progress/kendo-vue-scheduler

Properties Interface:SchedulerViewSlotProps

Syntax:

vue
<SchedulerViewSlot v-bind="props" :expandable="false" />

Properties

col

number

Sets the col of the SchedulerSlot in the active view. The SchedulerSlot uses this property for keyboard navigation between slots.

Overrides the editable prop of the Scheduler and the active view.

end

Date

The end date of the slot.

When you set it to false, the slot keeps its size and does not expand to fit the items inside it.

The group in which the Scheduler shows the slot.

id?

string

Sets the id of the wrapping element of the SchedulerSlot.

index

number

The sequence number of the slot in the current range.

isAllDay?

boolean

Specifies if the slot is an all-day slot.

isWorkDay?

boolean

Specifies if the day of the SchedulerSlot (in the current timezone) is between the workDayStart and workDayEnd of the active view.

Default:

true

Specifies if the time of the SchedulerSlot (in the current timezone) is between the workDayStart and workDayEnd of the active view.

Default:

true

items

Item[]

The collection of all items that fit in the slot.

onBlur?

(event: SchedulerSlotFocusEvent) => void

Fires each time the element, or any of its child elements, loses focus.

Parameters:eventSchedulerSlotFocusEvent

onClick?

(event: SchedulerSlotMouseEvent) => void

Fires each time you click the element or any of its child elements.

Parameters:eventSchedulerSlotMouseEvent

onDoubleClick?

(event: SchedulerSlotMouseEvent) => void

Fires each time you double-click the element or any of its child elements.

Parameters:eventSchedulerSlotMouseEvent

onFocus?

(event: SchedulerSlotFocusEvent) => void

Fires each time the element, or any of its child elements, receives focus.

Parameters:eventSchedulerSlotFocusEvent

onKeyDown?

(event: SchedulerSlotKeyboardEvent) => void

Fires each time a keydown event reaches the wrapping element.

Parameters:eventSchedulerSlotKeyboardEvent

onKeyPress?

(event: SchedulerSlotKeyboardEvent) => void

Fires each time a keypress event reaches the wrapping element.

Parameters:eventSchedulerSlotKeyboardEvent

onKeyUp?

(event: SchedulerSlotKeyboardEvent) => void

Fires each time a keyup event reaches the wrapping element.

Parameters:eventSchedulerSlotKeyboardEvent

onMouseEnter?

(event: SchedulerSlotMouseEvent) => void

Fires each time the element, or any of its child elements, receives a mouseenter event.

Parameters:eventSchedulerSlotMouseEvent

onMouseLeave?

(event: SchedulerSlotMouseEvent) => void

Fires each time the element, or any of its child elements, receives a mouseleave event.

Parameters:eventSchedulerSlotMouseEvent

onMouseOut?

(event: SchedulerSlotMouseEvent) => void

Fires each time the element, or any of its child elements, receives a mouseout event.

Parameters:eventSchedulerSlotMouseEvent

onMouseOver?

(event: SchedulerSlotMouseEvent) => void

Fires each time the element, or any of its child elements, receives a mouseover event.

Parameters:eventSchedulerSlotMouseEvent

range

Range

The range in which the Scheduler shows the slot.

row

number

Sets the row of the SchedulerSlot in the active view. The SchedulerSlot uses this property for keyboard navigation between slots.

selected?

boolean

Sets the selected state of the SchedulerSlot. When selected is true, the SchedulerSlot adds the k-selected class by default.

Overrides the default component that handles the view-specific features of the slot. Set it to a component or to the name of a slot template.

The default component is: SchedulerSlot.

start

Date

The start date of the slot.

tabIndex?

number

Sets the tabIndex attribute of the wrapping element of the SchedulerSlot.

When you set it to null, the SchedulerSlot does not apply a tabIndex to the element.

zonedEnd

ZonedDate

The end date in the provided timezone.

For more information about timezones, refer to the Scheduler Timezones article.

zonedStart

ZonedDate

The start date in the provided timezone.

For more information about timezones, refer to the Scheduler Timezones article.