primevue-mirror/components/paginator/PrevPageLink.vue

24 lines
498 B
Vue
Raw Normal View History

2022-09-06 12:03:37 +00:00
<template>
<button :class="containerClass" type="button" v-ripple>
<span class="p-paginator-icon pi pi-angle-left"></span>
</button>
</template>
<script>
import Ripple from 'primevue/ripple';
export default {
name: 'PrevPageLink',
computed: {
containerClass() {
return ['p-paginator-prev p-paginator-element p-link', {
'p-disabled': this.$attrs.disabled
}];
}
},
directives: {
'ripple': Ripple
}
}
</script>