Skip to content

VCalendar

Props

NameTypeDescription
datetimeEnum:
string
Date
Sets the week to display
hour12booleanDisplays a time in 12 hour format
localesEnum:
string
string[]
Sets the locale to be displayed
start-dayEnum:
sunday
monday
Sets the first day of the week to display
sticky-modeEnum:
none
header
column
all
Set the sticky-mode attribute

Events

NameEvent TypeDescription
blurFocusEventFires when the element loses focus.
clickMouseEventFires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
focusFocusEventFires when the element receives focus.
inputEventFires when the value of an element has been changed.
keydownKeyboardEventFires when a key is pressed.
keyupKeyboardEventFires when a key is released.

Slots

NameDescription
day-0Assign elements to corresponding day column using this slot.
day-1Assign elements to corresponding day column using this slot.
day-2Assign elements to corresponding day column using this slot.
day-3Assign elements to corresponding day column using this slot.
day-4Assign elements to corresponding day column using this slot.
day-5Assign elements to corresponding day column using this slot.
day-6Assign elements to corresponding day column using this slot.
defaultDefault slot.