forked from fanruan/fineui
Tangjinxia
3 years ago
3 changed files with 46 additions and 0 deletions
@ -0,0 +1,40 @@ |
|||||||
|
import { Widget } from "../../core/widget"; |
||||||
|
|
||||||
|
export declare class Expander extends Widget { |
||||||
|
static xtype: string; |
||||||
|
|
||||||
|
static EVENT_EXPAND: number; |
||||||
|
static EVENT_COLLAPSE: number; |
||||||
|
static EVENT_TRIGGER_CHANGE: number; |
||||||
|
static EVENT_CHANGE: number; |
||||||
|
static EVENT_AFTER_INIT: number; |
||||||
|
static EVENT_BEFORE_POPUPVIEW: string; |
||||||
|
static EVENT_AFTER_POPUPVIEW: string; |
||||||
|
static EVENT_BEFORE_HIDEVIEW: string; |
||||||
|
static EVENT_AFTER_HIDEVIEW: string; |
||||||
|
|
||||||
|
populate(items?: any, ...args: any[]): void; |
||||||
|
|
||||||
|
setValue(v: string): void; |
||||||
|
|
||||||
|
getValue(): string; |
||||||
|
|
||||||
|
isViewVisible(): boolean; |
||||||
|
|
||||||
|
isExpanded(): boolean; |
||||||
|
|
||||||
|
showView(): void; |
||||||
|
|
||||||
|
hideView(): void; |
||||||
|
|
||||||
|
getView(): any; |
||||||
|
|
||||||
|
getAllLeaves<T>(): T[]; |
||||||
|
|
||||||
|
getNodeById<T>(id: string): T; |
||||||
|
|
||||||
|
getNodeByValue<T>(v: string): T; |
||||||
|
|
||||||
|
destroy(): void; |
||||||
|
|
||||||
|
} |
Loading…
Reference in new issue