setContentType (Client API reference)
Sets the content type.
Note
This method is supported only on Unified Interface.
Syntax
tabObj.setContentType(contentType);
Parameter
Name | Type | Required | Description |
---|---|---|---|
contentType |
String | Yes | Defines the content type. It has the following parameters: - cardSections: The default tab behavior. - singleComponent: Maximizes the content of the first component in the tab. |
Related articles
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈