Properties
activeView
activeView: "years" | "months" | "days" = 'days'
disabledDates
formatOptions
formatOptions: Pick<DateTimeFormatOptions, "month" | "weekday"> = ...
headerOrientation
headerOrientation: "vertical" | "horizontal" = 'horizontal'
hideHeader
hideHeader: boolean = false
hideOutsideDays
hideOutsideDays: boolean = false
locale
locale: string = 'en'
orientation
orientation: "vertical" | "horizontal" = 'horizontal'
selection
selection: "multiple" | "single" | "range" = 'single'
showWeekNumbers
showWeekNumbers: boolean = false
size
size: "small" | "medium" | "large"
specialDates
Optional
value
value?: Date
Optional
values
values?: Date[]
visibleMonths
visibleMonths: number = 1
weekStart
weekStart: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" = 'sunday'
Static
styles
styles: CSSResult = styles
Static
Readonly
tagName
tagName: "igc-calendar" = 'igc-calendar'
Represents a calendar that lets users to select a date value in a variety of different ways.
Element
igc-calendar
Slot
Slot
title - Renders the title of the calendar header.
Fires
igcChange - Emitted when calendar changes its value.
Csspart
content - The content container.
Csspart
days-view - The days view container.
Csspart
months-view - The months view container.
Csspart
years-view - The years view container.
Csspart
header - The header container.
Csspart
header-title - The header title container.
Csspart
header-date - The header date container.
Csspart
navigation - The navigation container.
Csspart
months-navigation - The months navigation container.
Csspart
years-navigation - The years navigation container.
Csspart
years-range - The years range container.
Csspart
navigation-buttons - The navigation buttons container.
Csspart
navigation-button - The navigation button container.
Csspart
navigation-button vertical - The navigation button container when calendar orientation is vertical.
Csspart
days-view-container - The days view container.