Vitex Software's Ease Twitter Bootstrap4

Tabs extends Container

Tags
see
https://getbootstrap.com/docs/4.3/components/navs/#javascript-behavior
author

Vítězslav Dvořák info@vitexsoftware.cz

Table of Contents

$activeTab  : string
$tabs  : array
__construct()  : mixed
addTab()  : mixed
Add New Tab
finalize()  : mixed
Assembling
strToID()  : string
Convert Tab Name to ID
tabBodies()  : DivTag
Tabs Bodies
tabHandles()  : UlTag
Tabs Handles

Properties

$activeTab

private string $activeTab = ''

$tabs

private array $tabs = []

Methods

__construct()

public __construct([array $tabs = [] ][, array $properties = [] ]) : mixed
Parameters
$tabs : array = []
$properties : array = []
Return values
mixed

addTab()

Add New Tab

public addTab(string $label, mixed $content[, bool $active = false ]) : mixed
Parameters
$label : string
$content : mixed

to render in tab body

$active : bool = false

add as active tab

Return values
mixed

finalize()

Assembling

public finalize() : mixed
Return values
mixed

strToID()

Convert Tab Name to ID

public static strToID(string $tabLabel) : string
Parameters
$tabLabel : string
Return values
string

tabBodies()

Tabs Bodies

public tabBodies() : DivTag
Return values
DivTag

tabHandles()

Tabs Handles

public tabHandles() : UlTag
Return values
UlTag

Search results