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.
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈