BootstrapAccordion Class

Declaration

export class BootstrapAccordion extends Control

Inheritance

Control
BootstrapAccordion

Methods

collapseAll Method

Declaration

collapseAll(): void

expandAll Method

Declaration

expandAll(): void

getActiveGroup Method

Declaration

getActiveGroup(): BootstrapAccordionGroup | null

Returns

Type Description

getGroup Method

Declaration

getGroup(index: number): BootstrapAccordionGroup | null

Parameters

Type Name Description
index

Returns

Type Description

getGroupByName Method

Declaration

getGroupByName(name: string): BootstrapAccordionGroup | null

Parameters

Type Name Description
name

Returns

Type Description

getGroupCount Method

Declaration

getGroupCount(): number

Returns

Type Description

getItemByName Method

Declaration

getItemByName(name: string): BootstrapAccordionItem | null

Parameters

Type Name Description
name

Returns

Type Description

getSelectedItem Method

Declaration

getSelectedItem(): BootstrapAccordionItem | null

Returns

Type Description

off Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

on Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

once Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

setActiveGroup Method

Declaration

setActiveGroup(group: BootstrapAccordionGroup): void

Parameters

Type Name Description
group

setSelectedItem Method

Declaration

setSelectedItem(item: BootstrapAccordionItem): void

Parameters

Type Name Description
item