UNPKG

ng-zorro-antd

Version:

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

24 lines (23 loc) 1.22 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 { AfterViewInit, ElementRef, OnChanges, Renderer2 } from '@angular/core'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import * as i0 from "@angular/core"; /** * hack the bug * angular router change with unexpected transition trigger after calling applicationRef.attachView * https://github.com/angular/angular/issues/34718 */ export declare class NzTransitionPatchDirective implements AfterViewInit, OnChanges { private elementRef; private renderer; hidden: NzSafeAny; setHiddenAttribute(): void; constructor(elementRef: ElementRef, renderer: Renderer2); ngOnChanges(): void; ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<NzTransitionPatchDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<NzTransitionPatchDirective, "[nz-button], nz-button-group, [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>; }