primevue-mirror/components/paginator/NextPageLink.vue

27 lines
564 B
Vue
Executable File

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