@meleon/uni-ui
Version:
A uniapp components library written in vue3 and typescript
10 lines (9 loc) • 424 B
TypeScript
import type { TreeNodeEntity } from '../index.interface';
/**
* @description 判断当前节点是否可选中
* @param node 节点实体
* @returns
*/
export declare function isNodeCheckable(node: TreeNodeEntity): boolean;
export declare function isNodeExpandable(node: TreeNodeEntity): false | TreeNodeEntity[] | undefined;
export declare function isNodeSelectable(node: TreeNodeEntity): boolean | undefined;