BootstrapTabControl Class
Declaration
class BootstrapTabControl extends Control
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.
Methods
adjustSize Method
Declaration
adjustSize(): void
getActiveTab Method
Declaration
getActiveTab(): BootstrapTab | null
Returns
getActiveTabIndex Method
Declaration
getActiveTabIndex(): number
Returns
getTab(index) Method
Declaration
getTab(
index: number
): BootstrapTab | null
Parameters
Returns
getTabByName(name) Method
Declaration
getTabByName(
name: string
): BootstrapTab | null
Parameters
Returns
getTabCount Method
Declaration
getTabCount(): number
Returns
off<K> Method
Declaration
off<K extends keyof BootstrapTabControlEventMap>(
eventName?: K,
callback?: (this: BootstrapTabControl,
args?: BootstrapTabControlEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapTabControl, args?: BootstrapTabControlEventMap[K]) => void |
Type Parameters
Returns
on<K>(eventName, callback) Method
Declaration
on<K extends keyof BootstrapTabControlEventMap>(
eventName: K,
callback: (this: BootstrapTabControl,
args?: BootstrapTabControlEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapTabControl, args?: BootstrapTabControlEventMap[K]) => void |
Type Parameters
Returns
once<K>(eventName, callback) Method
Declaration
once<K extends keyof BootstrapTabControlEventMap>(
eventName: K,
callback: (this: BootstrapTabControl,
args?: BootstrapTabControlEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapTabControl, args?: BootstrapTabControlEventMap[K]) => void |
Type Parameters
Returns
setActiveTab(tab) Method
Declaration
setActiveTab(
tab: BootstrapTab
): void
Parameters
setActiveTabIndex(index) Method
Declaration
setActiveTabIndex(
index: number
): void
Parameters