From 7a5d70352c105c2ff66f3af3cb55bdbff9a2780a Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Fri, 2 Aug 2019 19:33:53 +0300 Subject: [PATCH] d.ts for Tree --- .../organizationchart/OrganizationChart.d.ts | 2 +- src/components/tree/Tree.d.ts | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 src/components/tree/Tree.d.ts diff --git a/src/components/organizationchart/OrganizationChart.d.ts b/src/components/organizationchart/OrganizationChart.d.ts index 93ae57997..ed21bf6eb 100644 --- a/src/components/organizationchart/OrganizationChart.d.ts +++ b/src/components/organizationchart/OrganizationChart.d.ts @@ -1,6 +1,6 @@ import Vue, {VNode} from 'vue'; -export declare class OrderList extends Vue { +export declare class OrganizationChart extends Vue { value?: any; selectionKeys?: any; selectionMode?: string; diff --git a/src/components/tree/Tree.d.ts b/src/components/tree/Tree.d.ts new file mode 100644 index 000000000..97c9baf7e --- /dev/null +++ b/src/components/tree/Tree.d.ts @@ -0,0 +1,22 @@ +import Vue, {VNode} from 'vue'; + +export declare class Tree extends Vue { + value?: any; + expandedKeys?: any; + selectionKeys?: any; + selectionMode?: string; + metaKeySelection?: string; + loading?: boolean; + loadingIcon?: string; + filter?: boolean; + filterBy?: string; + filterMode?: string; + filterPlaceholder?: string; + $emit(eventName: 'node-select', node: any): this; + $emit(eventName: 'node-unselect', node: any): this; + $emit(eventName: 'node-expand', node: any): this; + $emit(eventName: 'node-collapsed', node: any): this; + $slots: { + [key: string]: VNode[]; + } +} \ No newline at end of file