BootstrapPageControl Class
Declaration
class BootstrapPageControl extends BootstrapTabControl
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
getActiveTab Method
Declaration
getActiveTab(): BootstrapTab | null
Returns
getTab(index) Method
Declaration
getTab(
index: number
): BootstrapTab | null
Parameters
Returns
getTabByName(name) Method
Declaration
getTabByName(
name: string
): BootstrapTab | null
Parameters
Returns
getTabContentHTML(tab) Method
Declaration
getTabContentHTML(
tab: BootstrapTab
): string
Parameters
Returns
off<K> Method
Declaration
off<K extends keyof BootstrapPageControlEventMap>(
eventName?: K,
callback?: (this: BootstrapPageControl,
args?: BootstrapPageControlEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapPageControl, args?: BootstrapPageControlEventMap[K]) => void |
Type Parameters
Returns
on<K>(eventName, callback) Method
Declaration
on<K extends keyof BootstrapPageControlEventMap>(
eventName: K,
callback: (this: BootstrapPageControl,
args?: BootstrapPageControlEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapPageControl, args?: BootstrapPageControlEventMap[K]) => void |
Type Parameters
Returns
once<K>(eventName, callback) Method
Declaration
once<K extends keyof BootstrapPageControlEventMap>(
eventName: K,
callback: (this: BootstrapPageControl,
args?: BootstrapPageControlEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapPageControl, args?: BootstrapPageControlEventMap[K]) => void |
Type Parameters
Returns
performCallback(data) Method
Declaration
performCallback(
data: any
): Promise<void>
Parameters
Returns
performCallback(data, onSuccess) Method
Declaration
performCallback(
data: any,
onSuccess: () => void
): void
Parameters
Name |
Type |
data |
any |
onSuccess |
() => void |
setActiveTab(tab) Method
Declaration
setActiveTab(
tab: BootstrapTab
): void
Parameters
setTabContentHTML(tab, html) Method
Declaration
setTabContentHTML(
tab: BootstrapTab,
html: string
): void
Parameters