primevue-mirror/components/paginator/NextPageLink.vue

24 lines
499 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-right"></span>
</button>
</template>
<script>
import Ripple from 'primevue/ripple';
export default {
name: 'NextPageLink',
computed: {
containerClass() {
return ['p-paginator-next p-paginator-element p-link', {
'p-disabled': this.$attrs.disabled
}];
}
},
directives: {
'ripple': Ripple
}
}
</script>