export class BaseDpCtrl < NodeType = any > implements displayCtrl . ICtrl < NodeType > { protected _dpcMgr : displayCtrl . IMgr ; public key : string ; protected _node : NodeType ; constructor ( dpcMgr ? ) { this . _dpcMgr = dpcMgr ; } public isShowing : boolean = false ; public needLoad : boolean = true ; public isLoaded : boolean = false ; public isLoading : boolean = false ; public isInited : boolean = false ; public isShowed : boolean = false ; public needShow : boolean = false ; public onInit ( config ? ) { } public onShow ( config ? ) { } public onUpdate ( updateData ? ) { } public getFace < T > ( ) { return this as any ; } public onHide ( ) { } public forceHide ( ) { } public getNode ( ) { return this . _node ; } public onDestroy ( destroyRes ? ) { } public getRess ( ) { return null ; } }