Hi Josef,
Thank you for your post!
The stateChange event has also type like ‘float’ when you take a window is outside the dockingLayout and also has ‘dock’ type.
I have a code snippet for you on how to bind for ‘dock’ type on stateChange:
//In your app.component.ts:
onStateChange($event:any) {
if( $event.detail.type === 'dock'){
console.log($event)
}
}
Let me know if that works for you!
Please, do not hesitate to contact us if you have any additional questions.
Best regards,
Yavor Dashev
Smart UI Team
https://www.htmlelements.com/