forked from fanruan/fineui
Browse Source
Merge in VISUAL/fineui from ~YOUKI/fineui:master to master * commit 'b0f2130a09dd58d38a0b84e5aa6e36f6dfb25118': 无JIRA任务 chore: 补充类型es6
Youki
3 years ago
3 changed files with 40 additions and 0 deletions
@ -0,0 +1,21 @@ |
|||||||
|
import { Pane } from '../../base/pane'; |
||||||
|
|
||||||
|
export declare class MultiLayerSelectLevelTree extends Pane { |
||||||
|
static xtype: string; |
||||||
|
|
||||||
|
static EVENT_CHANGE: string; |
||||||
|
|
||||||
|
initTree<T>(nodes: T): void; |
||||||
|
|
||||||
|
populate<T>(nodes?: T[]): void; |
||||||
|
|
||||||
|
setValue(v: string[] | string): void; |
||||||
|
|
||||||
|
getValue(): string[]; |
||||||
|
|
||||||
|
getAllLeaves<T>(): T[]; |
||||||
|
|
||||||
|
getNodeById<T>(id: string): T; |
||||||
|
|
||||||
|
getNodeByValue<T>(id: string): T; |
||||||
|
} |
@ -0,0 +1,13 @@ |
|||||||
|
import { Widget } from '../../core/widget'; |
||||||
|
|
||||||
|
export declare class SelectTreeExpander extends Widget { |
||||||
|
static xtype: string; |
||||||
|
|
||||||
|
getAllLeaves<T>(): T[]; |
||||||
|
|
||||||
|
setValue(v: any): void; |
||||||
|
|
||||||
|
getValue<T>(): T; |
||||||
|
|
||||||
|
populate<T>(items: T[]): void; |
||||||
|
} |
Loading…
Reference in new issue