Property
|
JavaScript
|
Type
|
Description
|
||
Tab Orientation
|
taborientation
|
string
|
Select Vertical or Horizontal.
|
||
Tab Padding
|
tabpadding
|
string
|
Sets the padding for the container that houses the tabs and the tab contents. Enter a number followed by one of the supported formats (for example, 10px):
• px
• %
• in
• mm
• cm
• ex
• em
• pt
• pc
If you want to set padding for the different tab contents, you can select them individually in the project tree and edit the individual padding properties.
|
||
Tab Strip Class
|
stripclass
|
string
|
Specifies a class specifically for the strip or bar of tabs.
|
Event
|
JavaScript
|
Description
|
Tab Click
|
clicktab
|
Drag the Tab Click event a model in the project tree. Click the JS icon next to the Tab Click event to enter an expression.
|
Property
|
JavaScript
|
Type
|
Description
|
Title
|
title
|
string
|
Text shown on the tab.
|
Minimum Steps Required for Use
|
What It Looks Like
|
1. Drag and drop a Tabs widget onto the canvas.
2. Click Add Tab to add as many tabs as you like. For this example, we added two additional tabs.
3. Select a tab, and enter the tab name you want to display in the Title field.
4. Drag and drop the widgets you want displayed for that tab onto where it says Tab Content.
|
|
Keep in mind that it’s best to give your classes unique names so they do not conflict with other classes or OOTB properties.
|
CSS Example
|
What It Looks Like
|
.ptc-tabs .tab-strip-item {
font-size: 25px; } |