How to detect tab switching using Microsoft Teams JavaScript client SDK in teams tab app

Copper Contributor

Hi all,


I am working with a teams tab app where I have several tabs which includes editable information. So, when user moves from one tab to another I want to trigger a prompt for unsaved form. I can do that using custom code in my supporting web app for the teams tab app but I would like to do that using the Teams JS SDK. Does anyone know is Teams JS SDK provides any functional like this? 



0 Replies