WebPart Tabs

The webpart tabs will generate tabs for each visible webpart in its zone.

JavaScript
var WebParts = require("gd-sprest-bs").WebParts;

// Create the webpart
WebParts.WPTabs({ elementId: "my-tabs" });
TypeScript
import { WebParts } from "gd-sprest-bs";

// Create the webpart
WebParts.WPTabs({ elementId: "my-tabs" });

Properties

Name Type Description
type number The webpart tab type.

WebPart Tab Types

Name Value
Pillars 1
Tabs 2