Closed ertemmstein closed 2 years ago
you should register to the window close event
thanks for answer, is there a sample code for that, i couldnt able to do that. I pop out and pop-in with this way but cannot register to close event of PopoutWindowComponent:
popOut(popoutComp:PopoutWindowComponent){
popoutComp.popOut();
if(popoutComp.isPoppedOut){
this.hidePopOutIcon = true;
}
}
popIn(popoutComp:PopoutWindowComponent){
//const { popOutWindow } = popoutComp;
popoutComp.popIn();
if(!popoutComp.isPoppedOut){
this.hidePopOutIcon = false;
}
}
Hi, I want to catch close event when pressing X icon on pop-out window, is it possible?