36 lines
611 B
Vue
36 lines
611 B
Vue
<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>
|