Skip to main content

BootstrapAccordionGroup Class

#Declaration

TypeScript
class BootstrapAccordionGroup

#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.

#Properties

#index Property

#Declaration

TypeScript
readonly index: number

#Property Value

Type
number

#name Property

#Declaration

TypeScript
readonly name: string

#Property Value

Type
string

#navBar Property

#Declaration

TypeScript
readonly navBar: BootstrapAccordion | null

#Property Value

Type
BootstrapAccordion
null

#Methods

#getEnabled Method

#Declaration

TypeScript
getEnabled(): boolean

#Returns

Type
boolean

#getExpanded Method

#Declaration

TypeScript
getExpanded(): boolean

#Returns

Type
boolean

#getHeaderBadgeIconCssClass Method

#Declaration

TypeScript
getHeaderBadgeIconCssClass(): string

#Returns

Type
string

#getHeaderBadgeText Method

#Declaration

TypeScript
getHeaderBadgeText(): string

#Returns

Type
string

#getItem(index) Method

#Declaration

TypeScript
getItem(
    index: number
): BootstrapAccordionItem | null

#Parameters

Name Type
index number

#Returns

Type
BootstrapAccordionItem
null

#getItemByName(name) Method

#Declaration

TypeScript
getItemByName(
    name: string
): BootstrapAccordionItem | null

#Parameters

Name Type
name string

#Returns

Type
BootstrapAccordionItem
null

#getItemCount Method

#Declaration

TypeScript
getItemCount(): number

#Returns

Type
number

#getText Method

#Declaration

TypeScript
getText(): string

#Returns

Type
string

#getVisible Method

#Declaration

TypeScript
getVisible(): boolean

#Returns

Type
boolean

#setExpanded(value) Method

#Declaration

TypeScript
setExpanded(
    value: boolean
): void

#Parameters

Name Type
value boolean

#setHeaderBadgeIconCssClass(cssClass) Method

#Declaration

TypeScript
setHeaderBadgeIconCssClass(
    cssClass: string
): void

#Parameters

Name Type
cssClass string

#setHeaderBadgeText(text) Method

#Declaration

TypeScript
setHeaderBadgeText(
    text: string
): void

#Parameters

Name Type
text string

#setText(text) Method

#Declaration

TypeScript
setText(
    text: string
): void

#Parameters

Name Type
text string

#setVisible(value) Method

#Declaration

TypeScript
setVisible(
    value: boolean
): void

#Parameters

Name Type
value boolean