transition-patch.directive.d.ts 1.2 KB

1234567891011121314151617181920212223
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. import { AfterViewInit, ElementRef, OnChanges, Renderer2 } from '@angular/core';
  6. import { NzSafeAny } from 'ng-zorro-antd/core/types';
  7. import * as i0 from "@angular/core";
  8. /**
  9. * hack the bug
  10. * angular router change with unexpected transition trigger after calling applicationRef.attachView
  11. * https://github.com/angular/angular/issues/34718
  12. */
  13. export declare class NzTransitionPatchDirective implements AfterViewInit, OnChanges {
  14. private elementRef;
  15. private renderer;
  16. hidden: NzSafeAny;
  17. setHiddenAttribute(): void;
  18. constructor(elementRef: ElementRef, renderer: Renderer2);
  19. ngOnChanges(): void;
  20. ngAfterViewInit(): void;
  21. static ɵfac: i0.ɵɵFactoryDeclaration<NzTransitionPatchDirective, never>;
  22. static ɵdir: i0.ɵɵDirectiveDeclaration<NzTransitionPatchDirective, "[nz-button], nz-button-group, [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>;
  23. }