mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
parent
bb65e68636
commit
b82c553747
12 changed files with 314 additions and 73 deletions
25
components/lib/datatable/DataTable.d.ts
vendored
25
components/lib/datatable/DataTable.d.ts
vendored
|
@ -611,7 +611,6 @@ export interface DataTableProps {
|
|||
loading?: boolean | undefined;
|
||||
/**
|
||||
* The icon to show while indicating data load is in progress.
|
||||
* @defaultValue pi pi-spinner
|
||||
*/
|
||||
loadingIcon?: string | undefined;
|
||||
/**
|
||||
|
@ -730,12 +729,10 @@ export interface DataTableProps {
|
|||
expandedRows?: any[] | DataTableExpandedRows | null;
|
||||
/**
|
||||
* Icon of the row toggler to display the row as expanded.
|
||||
* @defaultValue pi-chevron-down
|
||||
*/
|
||||
expandedRowIcon?: string | undefined;
|
||||
/**
|
||||
* Icon of the row toggler to display the row as collapsed.
|
||||
* @defaultValue pi-chevron-right
|
||||
*/
|
||||
collapsedRowIcon?: string | undefined;
|
||||
/**
|
||||
|
@ -900,6 +897,28 @@ export interface DataTableSlots {
|
|||
*/
|
||||
index: number;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom loading icon template.
|
||||
*/
|
||||
loadingicon(): VNode[];
|
||||
/**
|
||||
* Custom reorder indicator up icon template.
|
||||
*/
|
||||
reorderindicatorupicon(): VNode[];
|
||||
/**
|
||||
* Custom reorder indicator down icon template.
|
||||
*/
|
||||
reorderindicatordownicon(): VNode[];
|
||||
/**
|
||||
* Custom rowgroup toggler icon template.
|
||||
* @param {Object} scope - rowgroup toggler icon slot's params.
|
||||
*/
|
||||
rowgrouptogglericon(scope: {
|
||||
/**
|
||||
* Current rowgroup's expanded state.
|
||||
*/
|
||||
expanded: boolean;
|
||||
}): VNode[];
|
||||
}
|
||||
/**
|
||||
* Defines valid emits in Datatable component.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue