mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #3921 - DataTable and TreeTable: new Paginator dropdown icon slots
This commit is contained in:
parent
1b300b54f0
commit
43faf8704d
8 changed files with 100 additions and 4 deletions
|
@ -11,7 +11,11 @@
|
|||
:pt="ptm('rowPerPageDropdown')"
|
||||
data-pc-section="rowperpagedropdown"
|
||||
data-pc-group-section="pagedropdown"
|
||||
></RPPDropdown>
|
||||
>
|
||||
<template v-if="templates['rowsperpagedropdownicon']" #dropdownicon="slotProps">
|
||||
<component :is="templates['rowsperpagedropdownicon']" :class="slotProps.class" />
|
||||
</template>
|
||||
</RPPDropdown>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@ -26,7 +30,8 @@ export default {
|
|||
props: {
|
||||
options: Array,
|
||||
rows: Number,
|
||||
disabled: Boolean
|
||||
disabled: Boolean,
|
||||
templates: null
|
||||
},
|
||||
methods: {
|
||||
onChange(value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue