--- Added: v2.0.0 Status: Active Last reviewed: 2018-05-08 --- # Accordion Group component Adds a collapsible panel to an accordion menu. ![Accordion menu screenshot](../docassets/images/accordion-menu.png) ## Basic Usage ```html ``` ```ts @Component({ selector: 'my-component' }) export class MyComponent implements OnInit { titleHeading: string; constructor() { this.titleHeading = 'My Group'; } } ``` ## Class members ### Properties | Name | Type | Default value | Description | | -- | -- | -- | -- | | hasAccordionIcon | `boolean` | true | Should the (expanded) accordion icon be shown? | | heading | `string` | | Title heading for the group. | | headingIcon | `string` | | The material design icon. | | headingIconTooltip | `string` | | Tooltip message to be shown for headingIcon | | isOpen | | | Is this group currently open? | | isSelected | | | Is this group currently selected? | ### Events | Name | Type | Description | | -- | -- | -- | | headingClick | `EventEmitter` | Emitted when the heading is clicked. | ## Details Place one or more accordion groups within an [Accordion component](accordion.component.md) to define a menu. ## See also - [Accordion component](accordion.component.md)