UNPKG

619 BTypeScriptView Raw
1import { AccordionPanelComponent } from './accordion-group.component';
2import { AccordionConfig } from './accordion.config';
3/** Displays collapsible content panels for presenting information in a limited amount of space. */
4export declare class AccordionComponent {
5 /** if `true` expanding one item will close all others */
6 closeOthers: boolean;
7 protected groups: AccordionPanelComponent[];
8 constructor(config: AccordionConfig);
9 closeOtherPanels(openGroup: AccordionPanelComponent): void;
10 addGroup(group: AccordionPanelComponent): void;
11 removeGroup(group: AccordionPanelComponent): void;
12}