Browse Source

无JIRA : 声明

es6
dailer 3 years ago
parent
commit
3bfb09859b
  1. 1
      typescript/base/combination/combo.ts
  2. 8
      typescript/core/utils/tree.ts

1
typescript/base/combination/combo.ts

@ -34,6 +34,7 @@ export declare class Combo extends Widget {
adjustYOffset?: number;
hideChecker?: Function;
offsetStyle?: 'left' | 'right' | 'center';
value?:any;
el?: any;
popup?: any;
comboClass?: string;

8
typescript/core/utils/tree.ts

@ -43,8 +43,8 @@ export declare class Tree {
postOrderTraverse(callback: Function): void;
nrPostOrderTraverse(callback: Function): void;
static transformToArrayFormat<T>(nodes: T | T[], pId: any, childKey?: string): T[];
static arrayFormat(nodes: Node | Node[], pId: any): Node[];
static transformToTreeFormat<T>(sNodes: T[]): Node[];
static treeFormat(sNodes: Node | Node[]): Node[];
static traversal(array: Node[], callback: Function, pNode: Node): void;
static arrayFormat<T>(nodes: T | T[], pId: any): T[];
static transformToTreeFormat<T>(sNodes: T[]): T[];
static treeFormat<T>(sNodes: T | T[]): T[];
static traversal<T>(array: T[], callback: (index:number,node:T,pNode?:T)=> boolean | void, pNode?: T): void;
}

Loading…
Cancel
Save