Skip to main content

BootstrapPageControl Class

Declaration

class BootstrapPageControl extends BootstrapTabControl

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
BootstrapPageControl

Methods

getActiveTab Method

Declaration

getActiveTab(): BootstrapTab | null

Returns

Type
BootstrapTab
null

getTab(index) Method

Declaration

getTab(
    index: number
): BootstrapTab | null

Parameters

Name Type
index number

Returns

Type
BootstrapTab
null

getTabByName(name) Method

Declaration

getTabByName(
    name: string
): BootstrapTab | null

Parameters

Name Type
name string

Returns

Type
BootstrapTab
null

getTabContentHTML(tab) Method

Declaration

getTabContentHTML(
    tab: BootstrapTab
): string

Parameters

Name Type
tab BootstrapTab

Returns

Type
string

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

Name Type
K keyof

Returns

Type
this

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

Name Type
K keyof

Returns

Type
this

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

Name Type
K keyof

Returns

Type
this

performCallback(data) Method

Declaration

performCallback(
    data: any
): Promise<void>

Parameters

Name Type
data any

Returns

Type
Promise<void>

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

Name Type
tab BootstrapTab

setTabContentHTML(tab, html) Method

Declaration

setTabContentHTML(
    tab: BootstrapTab,
    html: string
): void

Parameters

Name Type
tab BootstrapTab
html string