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