P粉7868001742023-08-27 00:44:36
The props
object passed to the slot contains an onClick
callback, which you need to bind for selection to work:
1 2 3 |
|
Documentation is a bit sparse at the moment, the type given is Record
. In Vuetify 3.4, other values are key
, title
, value
and ref
(template reference from underlying VVritualScroll) Used to update the height of the scroll bar.
When using a component with a title
property (e.g. VListItem), you can bind the entire props
object:
1 2 3 |
|
(BTW, the #item
slot has its content rendered into the v-list
, no need to wrap it again)
This is a snippet:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|