TabStateChange event (Client API reference)
This event occurs when the DisplayState of the tab changes due to user interaction or when the setDisplayState method is applied in code.
Use this event when you want to change the src property of an IFRAME within the tab. If you set the IFrame.src property in the OnLoad event for an IFRAME within a collapsed tab, the value will be overwritten when the tab is expanded.
Use the addTabStateChange method to add event handlers for this event and the removeTabStateChange method to remove them.
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk