Calendar Event The Calendar Event component displays scheduled items within the weekly view of the Calendar component. It supports clickable, interactive events with customizable times and colors.
import { VCalendar , VCalendarEvent } from '@vonage/vivid-api-vue' ;
import { VCalendar , VCalendarEvent } from '@vonage/vivid-api-vue' ;
< VCalendar class= "calendar" >
< VCalendarEvent heading= "Enchantment under the sea dance" start= "9" duration= "2" />
import { registerCalendar , registerCalendarEvent } from '@vonage/vivid-api' ;
registerCalendar ( 'your-prefix' );
registerCalendarEvent ( 'your-prefix' );
import { registerCalendar , registerCalendarEvent } from '@vonage/vivid-api' ;
registerCalendar ( 'your-prefix' );
registerCalendarEvent ( 'your-prefix' );
< your-prefix-calendar class= "calendar" >
< your-prefix-calendar-event heading= "Enchantment under the sea dance" slot= "day-0" start= "9" duration= "2" ></ your-prefix-calendar-event >
Property Type Default Description appearance 'filled' | 'duotone' | 'subtle'Sets the event's appearance connotation 'alert' | 'accent' | 'cta' | 'success' | 'warning' | 'information' | 'announcement'Sets the first day of the week to display description stringSets the event description duration numberSets the event duration (e.g. `2` = 2 hours) heading stringSets the event heading overlapCount numberSets the stacking context of the event when it overlaps with another start numberSets the event start time (e.g. `14` = 2pm)
Property Type Default Description appearance 'filled' | 'duotone' | 'subtle'Sets the event's appearance connotation 'alert' | 'accent' | 'cta' | 'success' | 'warning' | 'information' | 'announcement'Sets the first day of the week to display description stringSets the event description duration numberSets the event duration (e.g. `2` = 2 hours) heading stringSets the event heading overlap-count numberSets the stacking context of the event when it overlaps with another start numberSets the event start time (e.g. `14` = 2pm)