ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
33 lines (32 loc) • 1.45 kB
TypeScript
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { Direction, Directionality } from '@angular/cdk/bidi';
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
import { NzConfigKey, NzConfigService } from 'ng-zorro-antd/core/config';
import { BooleanInput } from 'ng-zorro-antd/core/types';
import { NzCollapsePanelComponent } from './collapse-panel.component';
export declare class NzCollapseComponent implements OnDestroy, OnInit {
nzConfigService: NzConfigService;
private cdr;
private elementRef;
private directionality;
readonly _nzModuleName: NzConfigKey;
static ngAcceptInputType_nzAccordion: BooleanInput;
static ngAcceptInputType_nzBordered: BooleanInput;
static ngAcceptInputType_nzGhost: BooleanInput;
nzAccordion: boolean;
nzBordered: boolean;
nzGhost: boolean;
nzExpandIconPosition: 'left' | 'right';
dir: Direction;
private listOfNzCollapsePanelComponent;
private destroy$;
constructor(nzConfigService: NzConfigService, cdr: ChangeDetectorRef, elementRef: ElementRef, directionality: Directionality);
ngOnInit(): void;
addPanel(value: NzCollapsePanelComponent): void;
removePanel(value: NzCollapsePanelComponent): void;
click(collapse: NzCollapsePanelComponent): void;
ngOnDestroy(): void;
}