ListItem
Panoramax.components.ui.ListItem ⇐ lit.LitElement
Kind: static class of Panoramax.components.ui
Extends: lit.LitElement
Element: pnx-list-item
Slot: icon
The left icon (symbol for this item)
Slot: action
The right icon (symbol for an interactive action)
- .ListItem ⇐
lit.LitElement
- new ListItem()
- .properties :
Object
new ListItem()
ListItem is a list entry, in a Material Design fashion.
Example
<pnx-list-item title="My feature" subtitle="It is very cool">
<img src="..." slot="icon" />
<img src="..." slot="action" />
</pnx-list-item>
listItem.properties : Object
Component properties.
Kind: instance property of ListItem
Properties
Name | Type | Description |
---|---|---|
title | string |
The item title |
[subtitle] | string |
The item subtitle |