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