UNPKG

ng-zorro-antd

Version:

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

36 lines (35 loc) 1.64 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'; import * as i0 from "@angular/core"; 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; static ɵfac: i0.ɵɵFactoryDeclaration<NzWaveDirective, [null, null, { optional: true; }, { optional: true; }, null]>; static ɵdir: i0.ɵɵDirectiveDeclaration<NzWaveDirective, "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", ["nzWave"], { "nzWaveExtraNode": "nzWaveExtraNode"; }, {}, never>; }