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('prevPageButton')">
<component :is="template || 'AngleLeftIcon'" class="p-paginator-icon" v-bind="getPTOptions('prevPageIcon')" />
<button v-ripple :class="cx('prevPageButton')" type="button" v-bind="getPTOptions('prevPageButton')">
<component :is="template || 'AngleLeftIcon'" :class="cx('prevPageIcon')" v-bind="getPTOptions('prevPageIcon')" />
</button>
</template>
@ -27,16 +27,6 @@ export default {
});
}
},
computed: {
containerClass() {
return [
'p-paginator-prev p-paginator-element p-link',
{
'p-disabled': this.$attrs.disabled
}
];
}
},
components: {
AngleLeftIcon: AngleLeftIcon
},