UNPKG

primevue

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primevue.svg)](https://badge.fury.io/js/primevue) [![Discord Chat](https://img.shields.io/discord/55794023

31 lines (27 loc) 725 B
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;