primevue
Version:
[](https://opensource.org/licenses/MIT) [](https://badge.fury.io/js/primevue) [ • 725 B
TypeScript
import { VNode } from 'vue';
interface TreeProps {
value?: any;
expandedKeys?: any;
selectionKeys?: any;
selectionMode?: string;
metaKeySelection?: string;
loading?: boolean;
loadingIcon?: string;
filter?: boolean;
filterBy?: string;
filterMode?: string;
filterPlaceholder?: string;
filterLocale?: string;
scrollHeight?: string;
}
declare class Tree {
$props: TreeProps;
$emit(eventName: 'node-select', node: any): this;
$emit(eventName: 'node-unselect', node: any): this;
$emit(eventName: 'node-expand', node: any): this;
$emit(eventName: 'node-collapse', node: any): this;
$slots: {
[key: string]: VNode[];
}
}
export default Tree;