mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +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
|
@ -44,6 +44,12 @@
|
|||
<template v-if="$slots.paginatorlastpagelinkicon" #lastpagelinkicon>
|
||||
<slot name="paginatorlastpagelinkicon"></slot>
|
||||
</template>
|
||||
<template v-if="$slots.paginatorjumptopagedropdownicon" #jumptopagedropdownicon>
|
||||
<slot name="paginatorjumptopagedropdownicon"></slot>
|
||||
</template>
|
||||
<template v-if="$slots.paginatorrowsperpagedropdownicon" #rowsperpagedropdownicon="slotProps">
|
||||
<slot name="paginatorrowsperpagedropdownicon" :class="slotProps.class"></slot>
|
||||
</template>
|
||||
</TTPaginator>
|
||||
<div :class="cx('wrapper')" :style="{ maxHeight: scrollHeight }" v-bind="ptm('wrapper')">
|
||||
<table ref="table" role="table" v-bind="{ ...tableProps, ...ptm('table') }">
|
||||
|
@ -144,6 +150,12 @@
|
|||
<template v-if="$slots.paginatorlastpagelinkicon" #lastpagelinkicon>
|
||||
<slot name="paginatorlastpagelinkicon"></slot>
|
||||
</template>
|
||||
<template v-if="$slots.paginatorjumptopagedropdownicon" #jumptopagedropdownicon>
|
||||
<slot name="paginatorjumptopagedropdownicon"></slot>
|
||||
</template>
|
||||
<template v-if="$slots.paginatorrowsperpagedropdownicon" #rowsperpagedropdownicon="slotProps">
|
||||
<slot name="paginatorrowsperpagedropdownicon" :class="slotProps.class"></slot>
|
||||
</template>
|
||||
</TTPaginator>
|
||||
<div v-if="$slots.footer" :class="cx('footer')" v-bind="ptm('footer')">
|
||||
<slot name="footer"></slot>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue