primevue-mirror/components/paginator/PrevPageLink.vue

27 lines
563 B
Vue
Executable File

<template>
<button v-ripple :class="containerClass" type="button">
<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>