mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +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-left"></span>
|
||||
<component :is="template || 'AngleLeftIcon'" class="p-paginator-icon" />
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import AngleLeftIcon from 'primevue/icon/angleleft';
|
||||
import Ripple from 'primevue/ripple';
|
||||
|
||||
export default {
|
||||
name: 'PrevPageLink',
|
||||
props: {
|
||||
template: {
|
||||
type: Function,
|
||||
default: null
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
containerClass() {
|
||||
return [
|
||||
|
@ -19,6 +26,9 @@ export default {
|
|||
];
|
||||
}
|
||||
},
|
||||
components: {
|
||||
AngleLeftIcon: AngleLeftIcon
|
||||
},
|
||||
directives: {
|
||||
ripple: Ripple
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue