primevue-mirror/components/lib/paginator/NextPageLink.vue

27 lines
564 B
Vue
Raw Normal View History

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