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
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for