tab.setDisplayState (Client API reference)
Important
The setDisplayState method will be deprecated with the 2021 release wave 1 (April 2021). Use the setFocus method in Unified Interface to ensure the correct tab is opened on a form.
Sets display state of the tab.
Syntax
tabObj.setDisplayState(state);
Parameter
Name | Type | Required | Description |
---|---|---|---|
state |
String | Yes | Specify "expanded" or "collapsed". |
Related articles
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈