primevue-mirror/components/paginator/LastPageLink.vue

24 lines
506 B
Vue
Executable File

<template>
<button :class="containerClass" type="button" v-ripple>
<span class="p-paginator-icon pi pi-angle-double-right"></span>
</button>
</template>
<script>
import Ripple from 'primevue/ripple';
export default {
name: 'LastPageLink',
computed: {
containerClass() {
return ['p-paginator-last p-paginator-element p-link', {
'p-disabled': this.$attrs.disabled
}];
}
},
directives: {
'ripple': Ripple
}
}
</script>