mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +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('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
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue