UNPKG

ng-zorro-antd-mobile

Version:

An enterprise-class mobile UI components based on Ant Design and Angular

30 lines (29 loc) 1.55 kB
import { QueryList, AfterContentInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core'; import { AccordionService } from './accordion.service'; import { AccordionGroupComponent } from './accordion-group/accordion-group.component'; import * as i0 from "@angular/core"; export declare class AccordionComponent implements AfterContentInit, OnDestroy, OnChanges { private _accordionService; private _oldGroups; private _subscription; private groupsSubscription; private isFirstChange; groups: QueryList<AccordionGroupComponent>; expandAll: boolean; activeKey: Array<string> | string; defaultActiveKey: string; openAnimation: {}; accordion: boolean; onChange: any; amAccordion: boolean; click(): void; constructor(_accordionService: AccordionService); closeAll(): void; init(): void; toArray(activeKey: any): any; ngOnChanges(changes: SimpleChanges): void; ngAfterContentInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "Accordion, nzm-accordion", never, { "expandAll": { "alias": "expandAll"; "required": false; }; "activeKey": { "alias": "activeKey"; "required": false; }; "defaultActiveKey": { "alias": "defaultActiveKey"; "required": false; }; "openAnimation": { "alias": "openAnimation"; "required": false; }; "accordion": { "alias": "accordion"; "required": false; }; }, { "onChange": "onChange"; }, ["groups"], ["*"], false, never>; }