Answer the question
In order to leave comments, you need to log in
In the table on vuetify, v-slot for customizing pagination gives an error in vs code, but works out how to rewrite it to the correct syntax?
In the table on vuetify, v-slot for customizing pagination gives an error in vs code, but works out how to rewrite it to the correct syntax?
Help, pliz
<template>
<div>
<v-data-table
v-model="selected"
:headers="headers"
:items="desserts"
:single-select="singleSelect"
item-key="name"
:items-per-page="20"
show-select
:footer-props="{
prevIcon: 'mdi-chevron-left',
nextIcon: 'mdi-chevron-right',
}"
>
<template v-slot:footer.page-text="items">
Showing {{ items.pageStart }} - {{ items.pageStop }} of
{{ items.itemsLength }} contacts
</template>
</v-data-table>
</div>
</template>
<template v-slot:footer.page-text="items">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question