ListItem API
API reference docs for the Stash ListItem
component. Learn about the props, CSS, and other APIs of this exported module.
Import
ts
import ListItem from '@leaflink/stash/ListItem.vue';
Props
Name | Type | Default | Description |
---|---|---|---|
disabled | boolean | false | Disables the checkbox |
isIndeterminate | boolean | false | Whether this row's checkbox should be indeterminite |
isSelectable | boolean | false | Whether this row can be selected. |
item | object | {} | The item to be selected |
notActionable | boolean | false | Whether this row has an actions column or not. By default list items will be styled to include actions. Use `not-actionable` to restyle a row that has no actions. |
selected | boolean | false | Whether this row is selected. |
Slots
Name | Description |
---|---|
default |
Events
Name | Description |
---|---|
select |