23 lines
437 B
Vue
23 lines
437 B
Vue
<template>
|
|
<button :class="containerClass" @click="$emit('click',$event)">
|
|
<span class="p-paginator-icon pi pi-caret-left"></span>
|
|
</button>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
inheritAttrs: false,
|
|
props: {
|
|
disabled: {
|
|
type: null,
|
|
default: false
|
|
}
|
|
},
|
|
computed: {
|
|
containerClass() {
|
|
return ['p-paginator-prev p-paginator-element p-link', {
|
|
'p-disabled': this.disabled
|
|
}];
|
|
}
|
|
}
|
|
}
|
|
</script> |