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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for