The requested page is not available for the requested platform. You are viewing the content for Default platform.

BootstrapTabControl Class

Declaration

export class BootstrapTabControl extends Control

Remarks

Important

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

Inheritance

Control
BootstrapTabControl

Methods

adjustSize Method

Declaration

adjustSize(): void

getActiveTab Method

Declaration

getActiveTab(): BootstrapTab | null

Returns

Type Description
BootstrapTab
null

getActiveTabIndex Method

Declaration

getActiveTabIndex(): number

Returns

Type Description
number

getTab Method

Declaration

getTab(index: number): BootstrapTab | null

Parameters

Name Type Description
index

Returns

Type Description
BootstrapTab
null

getTabByName Method

Declaration

getTabByName(name: string): BootstrapTab | null

Parameters

Name Type Description
name

Returns

Type Description
BootstrapTab
null

getTabCount Method

Declaration

getTabCount(): number

Returns

Type Description
number

off Method

Declaration

off(eventName?: K, callback?: (this: BootstrapTabControl, args?: BootstrapTabControlEventMap[K]) => void): this

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

on Method

Declaration

on(eventName: K, callback: (this: BootstrapTabControl, args?: BootstrapTabControlEventMap[K]) => void): this

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

once Method

Declaration

once(eventName: K, callback: (this: BootstrapTabControl, args?: BootstrapTabControlEventMap[K]) => void): this

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

setActiveTab Method

Declaration

setActiveTab(tab: BootstrapTab): void

Parameters

Name Type Description
tab

setActiveTabIndex Method

Declaration

setActiveTabIndex(index: number): void

Parameters

Name Type Description
index