BootstrapAccordion Class
# Declaration
TypeScript
class BootstrapAccordion extends Control
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.
# Methods
# collapseAll Method
# Declaration
# expandAll Method
# Declaration
# getActiveGroup Method
# Declaration
# Returns
# getGroup(index) Method
# Declaration
# Parameters
# Returns
# getGroupByName(name) Method
# Declaration
# Parameters
# Returns
# getGroupCount Method
# Declaration
# Returns
# getItemByName(name) Method
# Declaration
# Parameters
# Returns
# getSelectedItem Method
# Declaration
# Returns
# off<K> Method
# Declaration
TypeScript
off<K extends keyof BootstrapAccordionEventMap>(
eventName?: K,
callback?: (this : BootstrapAccordion,
args?: BootstrapAccordionEventMap[K]) => void
): this
# Parameters
Name
Type
eventName
K
callback
(this: BootstrapAccordion , args?: BootstrapAccordionEventMap[K]) => void
# Type Parameters
# Returns
# on<K>(eventName, callback) Method
# Declaration
TypeScript
on<K extends keyof BootstrapAccordionEventMap>(
eventName: K,
callback: (this : BootstrapAccordion,
args?: BootstrapAccordionEventMap[K]) => void
): this
# Parameters
Name
Type
eventName
K
callback
(this: BootstrapAccordion , args?: BootstrapAccordionEventMap[K]) => void
# Type Parameters
# Returns
# once<K>(eventName, callback) Method
# Declaration
TypeScript
once<K extends keyof BootstrapAccordionEventMap>(
eventName: K,
callback: (this : BootstrapAccordion,
args?: BootstrapAccordionEventMap[K]) => void
): this
# Parameters
Name
Type
eventName
K
callback
(this: BootstrapAccordion , args?: BootstrapAccordionEventMap[K]) => void
# Type Parameters
# Returns
# setActiveGroup(group) Method
# Declaration
# Parameters
# setSelectedItem(item) Method
# Declaration
# Parameters