Tree and Org chart .d.ts.updates
parent
9cac35d0ba
commit
95c2c42a01
|
@ -261,7 +261,12 @@ export interface OrganizationChartSlots {
|
||||||
/**
|
/**
|
||||||
* Custom content template.
|
* Custom content template.
|
||||||
*/
|
*/
|
||||||
default(node: any): VNode[];
|
default(scope: {
|
||||||
|
/**
|
||||||
|
* Current node
|
||||||
|
*/
|
||||||
|
node: any;
|
||||||
|
}): VNode[];
|
||||||
/**
|
/**
|
||||||
* Dynamic content template.
|
* Dynamic content template.
|
||||||
* @todo
|
* @todo
|
||||||
|
|
|
@ -347,6 +347,10 @@ export interface TreeProps {
|
||||||
* Defines valid slots in Tree component.
|
* Defines valid slots in Tree component.
|
||||||
*/
|
*/
|
||||||
export interface TreeSlots {
|
export interface TreeSlots {
|
||||||
|
/**
|
||||||
|
* Default content slot.
|
||||||
|
*/
|
||||||
|
default(): VNode[];
|
||||||
/**
|
/**
|
||||||
* Custom loading icon template.
|
* Custom loading icon template.
|
||||||
* @param {Object} scope - loadingicon slot's params.
|
* @param {Object} scope - loadingicon slot's params.
|
||||||
|
@ -399,12 +403,11 @@ export interface TreeSlots {
|
||||||
* Optional slots.
|
* Optional slots.
|
||||||
* @todo
|
* @todo
|
||||||
*/
|
*/
|
||||||
|
|
||||||
[key: string]: (node: any) => VNode[];
|
[key: string]: (node: any) => VNode[];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines valid slots in Tree component.
|
* Defines valid emits in Tree component.
|
||||||
*/
|
*/
|
||||||
export interface TreeEmits {
|
export interface TreeEmits {
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue