Md List Item
open class MdListItem(text: String? = null, type: ListItemType = ListItemType.Text, disabled: Boolean = false, href: String? = null, target: LinkTarget? = null, className: String? = null, init: MdListItem.() -> Unit? = null) : MdItemWidget, HasHeadlineSlot, HasLeadingSlot, HasSupportingTextSlot, HasTrailingSlot, HasTrailingSupportingTextSlot
List items are element that belongs to a List.
See https://material-web.dev/components/list/
Author
Maanrifa Bacar Ali
Constructors
Link copied to clipboard
constructor(text: String? = null, type: ListItemType = ListItemType.Text, disabled: Boolean = false, href: String? = null, target: LinkTarget? = null, className: String? = null, init: MdListItem.() -> Unit? = null)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the text to the headline slot.
Link copied to clipboard
Sets the icon identified by name to the leading slot.
Link copied to clipboard
Link copied to clipboard
Sets the text to the supporting text slot.
Link copied to clipboard
Sets the icon identified by name to the trailing slot.
Link copied to clipboard
Link copied to clipboard
fun HasTrailingSupportingTextSlot.trailingSupportingText(text: String): <Error class: unknown class>
Sets the text to the trailing supporting text slot.