Forum Discussion

MFKARIM's avatar
MFKARIM
Copper Contributor
Oct 16, 2023

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

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? 

 

Thanks

No RepliesBe the first to reply

Resources