BootstrapPageControl Class

Declaration

export class BootstrapPageControl extends BootstrapTabControl

Inheritance

BootstrapTabControl
BootstrapPageControl

Properties

name Property

Declaration

readonly name: string

Property Value

Type Description
string

Methods

adjustControl Method

Declaration

adjustControl(): void

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

getHeight Method

Declaration

getHeight(): number

Returns

Type Description
number

getMainElement Method

Declaration

getMainElement(): any

Returns

Type Description
any

getParentControl Method

Declaration

getParentControl(): any

Returns

Type Description
any

getTab Method

Declaration

getTab(index: number): BootstrapTab | null

Parameters

Type Name Description
number index

Returns

Type Description
BootstrapTab
null

getTabByName Method

Declaration

getTabByName(name: string): BootstrapTab | null

Parameters

Type Name Description
string name

Returns

Type Description
BootstrapTab
null

getTabContentHTML Method

Declaration

getTabContentHTML(tab: BootstrapTab): string

Parameters

Type Name Description
BootstrapTab tab

Returns

Type Description
string

getTabCount Method

Declaration

getTabCount(): number

Returns

Type Description
number

getVisible Method

Declaration

getVisible(): boolean

Returns

Type Description
boolean

getWidth Method

Declaration

getWidth(): number

Returns

Type Description
number

inCallback Method

Declaration

inCallback(): boolean

Returns

Type Description
boolean

off Method

Declaration

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

Parameters

Type Name Description
K eventName
(this: BootstrapPageControl, args?: BootstrapPageControlEventMap[K]) => void callback

Returns

Type Description
this

on Method

Declaration

on<K extends keyof BootstrapPageControlEventMap>(eventName: K, callback: (this: BootstrapPageControl, args?: BootstrapPageControlEventMap[K]) => void): this

Parameters

Type Name Description
K eventName
(this: BootstrapPageControl, args?: BootstrapPageControlEventMap[K]) => void callback

Returns

Type Description
this

once Method

Declaration

once<K extends keyof BootstrapPageControlEventMap>(eventName: K, callback: (this: BootstrapPageControl, args?: BootstrapPageControlEventMap[K]) => void): this

Parameters

Type Name Description
K eventName
(this: BootstrapPageControl, args?: BootstrapPageControlEventMap[K]) => void callback

Returns

Type Description
this

performCallback Method

Declaration

performCallback(data: any, onSuccess: () => void): void

Parameters

Type Name Description
any data
() => void onSuccess

performCallback Method

Declaration

performCallback(data: any): Promise<void>

Parameters

Type Name Description
any data

Returns

Type Description
Promise<void>

sendMessageToAssistiveTechnology Method

Declaration

sendMessageToAssistiveTechnology(message: string): void

Parameters

Type Name Description
string message

setActiveTab Method

Declaration

setActiveTab(tab: BootstrapTab): void

Parameters

Type Name Description
BootstrapTab tab

setActiveTabIndex Method

Declaration

setActiveTabIndex(index: number): void

Parameters

Type Name Description
number index

setHeight Method

Declaration

setHeight(height: number): void

Parameters

Type Name Description
number height

setTabContentHTML Method

Declaration

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

Parameters

Type Name Description
BootstrapTab tab
string html

setVisible Method

Declaration

setVisible(visible: boolean): void

Parameters

Type Name Description
boolean visible

setWidth Method

Declaration

setWidth(width: number): void

Parameters

Type Name Description
number width