UNPKG

ng-zorro-antd

Version:

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

33 lines (32 loc) 1.27 kB
/** * 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 { ElementRef, InjectionToken, NgZone, OnDestroy, OnInit } from '@angular/core'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { NzWaveRenderer } from './nz-wave-renderer'; export interface NzWaveConfig { disabled?: boolean; } export declare const NZ_WAVE_GLOBAL_DEFAULT_CONFIG: NzWaveConfig; export declare const NZ_WAVE_GLOBAL_CONFIG: InjectionToken<NzWaveConfig>; export declare function NZ_WAVE_GLOBAL_CONFIG_FACTORY(): NzWaveConfig; export declare class NzWaveDirective implements OnInit, OnDestroy { private ngZone; private elementRef; private config; private animationType; private platformId; nzWaveExtraNode: boolean; private waveRenderer?; private waveDisabled; get disabled(): boolean; get rendererRef(): NzWaveRenderer | undefined; constructor(ngZone: NgZone, elementRef: ElementRef, config: NzWaveConfig, animationType: string, platformId: NzSafeAny); isConfigDisabled(): boolean; ngOnDestroy(): void; ngOnInit(): void; renderWaveIfEnabled(): void; disable(): void; enable(): void; }