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; adjustYOffset?: number;
hideChecker?: Function; hideChecker?: Function;
offsetStyle?: 'left' | 'right' | 'center'; offsetStyle?: 'left' | 'right' | 'center';
value?:any;
el?: any; el?: any;
popup?: any; popup?: any;
comboClass?: string; comboClass?: string;

8
typescript/core/utils/tree.ts

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

Loading…
Cancel
Save