The list-item component is a container intended for row items in the list component.
- Slots
-
default— Renders custom content. -
start— Renders content before all other content. -
end— Renders content after all other content. -
title— Renders the title. -
subtitle— Renders the subtitle.
- CSS Parts
start— The start container.end— The end container.content— The header and custom content container.header— The title and subtitle container.title— The title container.subtitle— The subtitle container.
Properties
Section titled "Properties"selected
Section titled "selected"Defines if the list item is selected or not.
selected: boolean