Skip to content

Commit

Permalink
Refactor #4231 - For DataTable
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Aug 2, 2023
1 parent b371f0e commit 3c81f59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/lib/datatable/ColumnFilter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<component :is="filterClearIconTemplate || 'FilterSlashIcon'" v-bind="getColumnPT('filterClearIcon')" />
</button>
<Portal>
<transition name="p-connected-overlay" @enter="onOverlayEnter" @leave="onOverlayLeave" @after-leave="onOverlayAfterLeave">
<transition name="p-connected-overlay" @enter="onOverlayEnter" @leave="onOverlayLeave" @after-leave="onOverlayAfterLeave" v-bind="getColumnPT('transition')">
<div
v-if="overlayVisible"
:ref="overlayRef"
Expand Down
6 changes: 5 additions & 1 deletion components/lib/datatable/DataTable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ export interface DataTablePassThroughOptions {
*/
tfoot?: DataTablePassThroughOptionType;
/**
* Used to pass attributes to the footerr ow's DOM element.
* Used to pass attributes to the footer row's DOM element.
*/
footerRow?: DataTablePassThroughOptionType;
/**
Expand Down Expand Up @@ -654,6 +654,10 @@ export interface DataTablePassThroughOptions {
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
/**
* Used to control Vue Transition API.
*/
transition?: any;
}

/**
Expand Down

0 comments on commit 3c81f59

Please sign in to comment.