UNPKG

ng-zorro-antd

Version:

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

34 lines (29 loc) 1.6 kB
import * as i0 from '@angular/core'; import { AfterViewInit, OnChanges } from '@angular/core'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; /** * 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 */ /** * hack the bug * angular router change with unexpected transition trigger after calling applicationRef.attachView * https://github.com/angular/angular/issues/34718 */ declare class NzTransitionPatchDirective implements AfterViewInit, OnChanges { private elementRef; private renderer; hidden: NzSafeAny; setHiddenAttribute(): void; constructor(); ngOnChanges(): void; ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<NzTransitionPatchDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<NzTransitionPatchDirective, "[nz-button], [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", never, { "hidden": { "alias": "hidden"; "required": false; }; }, {}, never, never, true, never>; } declare class NzTransitionPatchModule { static ɵfac: i0.ɵɵFactoryDeclaration<NzTransitionPatchModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<NzTransitionPatchModule, never, [typeof NzTransitionPatchDirective], [typeof NzTransitionPatchDirective]>; static ɵinj: i0.ɵɵInjectorDeclaration<NzTransitionPatchModule>; } export { NzTransitionPatchDirective as ɵNzTransitionPatchDirective, NzTransitionPatchModule as ɵNzTransitionPatchModule };