MCPcopy Create free account
hub / github.com/UI5/webcomponents / _isDefaultCalendarLegendType

Method _isDefaultCalendarLegendType

packages/main/src/DayPicker.ts:927–929  ·  view source on GitHub ↗
(type: string)

Source from the content-addressed store, hash-verified

925 }
926
927 _isDefaultCalendarLegendType(type: string): boolean {
928 return ["NonWorking", "Working", "Today", "Selected", "None"].includes(type);
929 }
930
931 _getSecondaryDay(tempDate: CalendarDate): CalendarDate {
932 return new CalendarDate(tempDate, this.secondaryCalendarType);

Callers 1

_buildWeeksMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected