Calendar
Calendar
No summary has been written for Calendar. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.Public export
typescript
import { Calendar } from '@happyvertical/smrt-ui/calendar';- Import path
@happyvertical/smrt-ui/calendar- Props
- 7
- Props described
- 7 of 7
- Bindable state
- 0
- Callback events
- 3
- Verified release
- 0.44.0
Props
NameTypeRequiredDescription
eventsDayEventsData[] | nullNoEvents data to display on calendar dates, or null to show no events.yearnumberNoInitial year to display when the calendar first loads.monthnumberNoInitial month to display (zero-indexed, where 0 is January).baseUrlstringNoBase URL path for constructing day-specific links.onMonthNavigate(direction: 'prev' | 'next', year: number, month: number) => voidNoCallback when navigating to prev/next monthonDateSelect(date: string, hasEvents: boolean) => voidNoCallback when a date cell is clickedonTodayClick() => voidNoCallback when Today button is clickedBindable state
This component has no bindable public state.
Callback events
onMonthNavigate(direction: 'prev' | 'next', year: number, month: number) => voidonDateSelect(date: string, hasEvents: boolean) => voidonTodayClick() => void