Refactor #3965 - For Paginator

This commit is contained in:
Tuğçe Küçükoğlu 2023-05-30 16:39:08 +03:00
parent 453a470b66
commit 65a6310cb9
11 changed files with 179 additions and 143 deletions

View file

@ -1,6 +1,6 @@
<template>
<button v-ripple :class="containerClass" type="button" v-bind="getPTOptions('lastPageButton')">
<component :is="template || 'AngleDoubleRightIcon'" class="p-paginator-icon" v-bind="getPTOptions('lastPageIcon')" />
<button v-ripple :class="cx('lastPageButton')" type="button" v-bind="getPTOptions('lastPageButton')">
<component :is="template || 'AngleDoubleRightIcon'" :class="cx('lastPageIcon')" v-bind="getPTOptions('lastPageIcon')" />
</button>
</template>
@ -27,16 +27,6 @@ export default {
});
}
},
computed: {
containerClass() {
return [
'p-paginator-last p-paginator-element p-link',
{
'p-disabled': this.$attrs.disabled
}
];
}
},
components: {
AngleDoubleRightIcon: AngleDoubleRightIcon
},