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

SchedulerViewSlotProps

Represents the props of the Kendo UI for Vue SchedulerViewSlot component.

NameTypeDefaultDescription

col

number

Sets the col in the context of the current active view. This property is being used to provide keyboard navigation between the SchedulerSlot components.

editable?

boolean | EditableProp

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

end

Date

The end date of the slot.

expandable?

boolean | SchedulerSlotExpandableConfig

Set to false will render the slot as is, without expanding depending on the items inside it.

For more information, please refer to the Adaptive Slot Height article.

group

Group

Represents the current group in which the slot is rendered.

id?

string

Specifies the id of the wrapping element of the SchedulerSlot.

index

number

Represents the consecutive number of the slot in the current range.

isAllDay?

boolean

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

isWorkHour?

boolean

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

items

Item[]

A collection of all items which fits in the current slot.

range

Range

Represents the current range in which the slot is rendered.

row

number

Sets the row in the context of the current active view. This property is being used to provide keyboard navigation between the SchedulerSlot components.

selected?

boolean

Sets the selected state of the SchedulerSlot. By default the k-selected className is added if props.selected is true.

slotRender?

any

Overrides the default component responsible for view-specific functionality.

The default Component is: SchedulerSlot.

start

Date

The end date of the slot.

tabIndex?

number

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

Providing null will not apply any tabIndex to the element.

zonedEnd

ZonedDate

Represents the end Date in the provided timezone.

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

zonedStart

ZonedDate

Represents the start Date in the provided timezone.

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

Methods

onBlur

Called each time the element, or any of its child elements, lose focus.

Parameters

event

SchedulerSlotFocusEvent

onClick

Called each time the element, or any of its child elements, is clicked.

Parameters

event

SchedulerSlotMouseEvent

onDoubleClick

Called each time the element, or any of its child elements, is double-clicked.

Parameters

event

SchedulerSlotMouseEvent

onFocus

Called each time the element, or any of its child elements, receive focus.

Parameters

event

SchedulerSlotFocusEvent

onKeyDown

Called each time a keydown event propagates to the wrapping element.

Parameters

event

SchedulerSlotKeyboardEvent

onKeyPress

Called each time a keypress event propagates to the wrapping element.

Parameters

event

SchedulerSlotKeyboardEvent

onKeyUp

Called each time a keyup event propagates to the wrapping element.

Parameters

event

SchedulerSlotKeyboardEvent

onMouseEnter

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

Parameters

event

SchedulerSlotMouseEvent

onMouseLeave

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

Parameters

event

SchedulerSlotMouseEvent

onMouseOut

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

Parameters

event

SchedulerSlotMouseEvent

onMouseOver

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

Parameters

event

SchedulerSlotMouseEvent