[WIP] Добавил квазаровскую пагинацию

This commit is contained in:
megavrilinvv
2023-01-25 18:26:39 +03:00
parent 48f78626c1
commit 6599a204fa
4 changed files with 50 additions and 7 deletions

View File

@@ -0,0 +1,35 @@
<template lang="pug">
.flex(class="q-pa-lg flex-center")
q-pagination(
v-model="value",
:max="max",
:max-pages="maxPages",
:boundary-numbers="boundaryNumbers",
:direction-links="directionLinks"
)
</template>
<script>
export default {
name: "BasePagination",
props: {
value: Number,
max: {
default: 1,
type: Number,
},
maxPages: {
default: 6,
type: Number,
},
boundaryNumbers: {
default: false,
type: Boolean,
},
directionLinks: {
default: false,
type: Boolean,
},
},
};
</script>