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 Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по