Refactor #3832 Refactor #3833 - For TreeSelect: Tree icon support

This commit is contained in:
Tuğçe Küçükoğlu 2023-04-17 10:59:20 +03:00
parent 7b9255c5e8
commit c0a4677f90
3 changed files with 66 additions and 1 deletions

View file

@ -150,6 +150,42 @@ export interface TreeSelectSlots {
* Custom indicator template.
*/
indicator(): VNode[];
/**
* Custom loading icon template.
*/
loadingicon(): VNode[];
/**
* Custom search icon template.
*/
searchicon(): VNode[];
/**
* Custom item toggler icon template.
* @param {Object} scope - item toggler icon slot's params.
*/
itemtogglericon(scope: {
/**
* Node instance
*/
node: TreeNode | any;
/**
* Expanded state of the node
*/
expanded: TreeNode[];
}): VNode[];
/**
* Custom item checkbox icon template.
* @param {Object} scope - item checkbox icon slot's params.
*/
itemcheckboxicon(scope: {
/**
* Check state of the node
*/
checked: boolean;
/**
* Partial check state of the node
*/
partialChecked: boolean;
}): VNode[];
}
/**