mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4289 - Improve usePassThrough
method
This commit is contained in:
parent
e4651a9d0c
commit
4ecc86838f
100 changed files with 317 additions and 258 deletions
4
components/lib/datatable/DataTable.d.ts
vendored
4
components/lib/datatable/DataTable.d.ts
vendored
|
@ -13,7 +13,7 @@ import { ColumnPassThroughOptionType } from '../column';
|
|||
import { ColumnGroupPassThroughOptionType } from '../columngroup';
|
||||
import { PaginatorPassThroughOptionType } from '../paginator';
|
||||
import { RowPassThroughOptionType } from '../row';
|
||||
import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers';
|
||||
import { ClassComponent, GlobalComponentConstructor, Nullable, PTOptions } from '../ts-helpers';
|
||||
import { VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller';
|
||||
|
||||
export declare type DataTablePassThroughOptionType = DataTablePassThroughAttributes | ((options: DataTablePassThroughMethodOptions) => DataTablePassThroughAttributes | string) | string | null | undefined;
|
||||
|
@ -1069,7 +1069,7 @@ export interface DataTableProps {
|
|||
* Used to pass attributes to DOM elements inside the component.
|
||||
* @type {DataTablePassThroughOptions}
|
||||
*/
|
||||
pt?: DataTablePassThroughOptions;
|
||||
pt?: PTOptions<DataTablePassThroughOptions>;
|
||||
/**
|
||||
* When enabled, it removes component related styles in the core.
|
||||
* @defaultValue false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue