BootstrapClientAccordion.GetItemByName(name) Method
In This Article
Returns an item specified by its name.
#Declaration
TypeScript
GetItemByName(
name: string
): BootstrapClientAccordionItem
#Parameters
Name | Type | Description |
---|---|---|
name | string | A string value specifying the name of the item. |
#Returns
Type | Description |
---|---|
Bootstrap |
A Bootstrap |
#Remarks
The Accordion’s items on the client side can be accessed by using the Accordion’s client-side functionality. This method gets a client item object specified by its name. An item’s name is defined by the NavBarItem.Name property.
Note that if an invalid name is passed via the parameter, this method returns null.
In order to access a particular group’s item specified by its name, the group’s BootstrapClientAccordionGroup.GetItemByName method can be used.
See Also