mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Refactor #3965 - For Paginator
This commit is contained in:
parent
453a470b66
commit
65a6310cb9
11 changed files with 179 additions and 143 deletions
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue