BootstrapAccordion Class

Declaration

export class BootstrapAccordion extends Control

Inheritance

Control
BootstrapAccordion

Properties

name Property

Declaration

readonly name: string

Property Value

Type Description
string

Methods

adjustControl Method

Declaration

adjustControl(): void

collapseAll Method

Declaration

collapseAll(): void

expandAll Method

Declaration

expandAll(): void

getActiveGroup Method

Declaration

getActiveGroup(): BootstrapAccordionGroup | null

Returns

Type Description
BootstrapAccordionGroup
null

getGroup Method

Declaration

getGroup(index: number): BootstrapAccordionGroup | null

Parameters

Type Name Description
number index

Returns

Type Description
BootstrapAccordionGroup
null

getGroupByName Method

Declaration

getGroupByName(name: string): BootstrapAccordionGroup | null

Parameters

Type Name Description
string name

Returns

Type Description
BootstrapAccordionGroup
null

getGroupCount Method

Declaration

getGroupCount(): number

Returns

Type Description
number

getHeight Method

Declaration

getHeight(): number

Returns

Type Description
number

getItemByName Method

Declaration

getItemByName(name: string): BootstrapAccordionItem | null

Parameters

Type Name Description
string name

Returns

Type Description
BootstrapAccordionItem
null

getMainElement Method

Declaration

getMainElement(): any

Returns

Type Description
any

getParentControl Method

Declaration

getParentControl(): any

Returns

Type Description
any

getSelectedItem Method

Declaration

getSelectedItem(): BootstrapAccordionItem | null

Returns

Type Description
BootstrapAccordionItem
null

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: BootstrapAccordion, args?: BootstrapAccordionEventMap[K]) => void): this

Parameters

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

Returns

Type Description
this

on Method

Declaration

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

Parameters

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

Returns

Type Description
this

once Method

Declaration

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

Parameters

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

Returns

Type Description
this

sendMessageToAssistiveTechnology Method

Declaration

sendMessageToAssistiveTechnology(message: string): void

Parameters

Type Name Description
string message

setActiveGroup Method

Declaration

setActiveGroup(group: BootstrapAccordionGroup): void

Parameters

Type Name Description
BootstrapAccordionGroup group

setHeight Method

Declaration

setHeight(height: number): void

Parameters

Type Name Description
number height

setSelectedItem Method

Declaration

setSelectedItem(item: BootstrapAccordionItem): void

Parameters

Type Name Description
BootstrapAccordionItem item

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