CalendarLegendItem
Each ui5-calendar-legend-item
represents a legend item, displaying a color with a label.
The color is determined by the type
property and the label by the text
property.
If a ui5-special-date
is used within the ui5-calendar
and a type is set, clicking on a ui5-calendar-legend-item
with the same type will emphasize the respective date(s) in the calendar.
Usage​
The ui5-calendar-legend-item
is intended to be used within the ui5-calendar-legend
component.
ES6 Module Import​
import "@ui5/webcomponents/dist/CalendarLegendItem.js";
Properties​
text​
type​
Slots​
No slots available for this component.
Events​
No events available for this component.
Methods​
No methods available for this component.
CSS Parts​
No CSS parts available for this component.