mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
parent
7a5860f97b
commit
20726d35e1
4 changed files with 79 additions and 20 deletions
38
components/lib/tree/Tree.d.ts
vendored
38
components/lib/tree/Tree.d.ts
vendored
|
@ -168,15 +168,45 @@ export interface TreeProps {
|
|||
*/
|
||||
export interface TreeSlots {
|
||||
/**
|
||||
* Optional slots.
|
||||
* @todo
|
||||
* Custom loading icon template.
|
||||
*/
|
||||
[key: string]: (scope: {
|
||||
loadingicon(): VNode[];
|
||||
/**
|
||||
* Custom search icon template.
|
||||
*/
|
||||
searchicon(): VNode[];
|
||||
/**
|
||||
* Custom toggler icon template.
|
||||
*/
|
||||
togglericon(scope: {
|
||||
/**
|
||||
* Tree node instance
|
||||
*/
|
||||
node: TreeNode;
|
||||
}) => VNode[];
|
||||
/**
|
||||
* Expanded state of the node
|
||||
*/
|
||||
expanded: boolean;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom checkbox icon
|
||||
*/
|
||||
checkboxicon(scope: {
|
||||
/**
|
||||
* Check state of the node
|
||||
*/
|
||||
checked: boolean;
|
||||
/**
|
||||
* Partial check state of the node
|
||||
*/
|
||||
partialChecked: boolean;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Optional slots.
|
||||
* @todo
|
||||
*/
|
||||
|
||||
[key: string]: (node: any) => VNode[];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue