mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
parent
fba52967d1
commit
1646da534e
8 changed files with 82 additions and 12 deletions
|
@ -1,14 +1,21 @@
|
|||
<template>
|
||||
<button v-ripple :class="containerClass" type="button">
|
||||
<span class="p-paginator-icon pi pi-angle-double-right"></span>
|
||||
<component :is="template || 'AngleDoubleRightIcon'" class="p-paginator-icon" />
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import AngleDoubleRightIcon from 'primevue/icon/angledoubleright';
|
||||
import Ripple from 'primevue/ripple';
|
||||
|
||||
export default {
|
||||
name: 'LastPageLink',
|
||||
props: {
|
||||
template: {
|
||||
type: Function,
|
||||
default: null
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
containerClass() {
|
||||
return [
|
||||
|
@ -19,6 +26,9 @@ export default {
|
|||
];
|
||||
}
|
||||
},
|
||||
components: {
|
||||
AngleDoubleRightIcon: AngleDoubleRightIcon
|
||||
},
|
||||
directives: {
|
||||
ripple: Ripple
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue