overflow-rest.directive.d.ts 840 B

123456789101112131415161718
  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 { ChangeDetectorRef } from '@angular/core';
  6. import * as i0 from "@angular/core";
  7. export declare class NzOverflowRestDirective {
  8. private cdr;
  9. private nzResizeObserver;
  10. private elementRef;
  11. restStyle: Record<string, string | number | undefined> | undefined;
  12. restWidth$: import("rxjs").Observable<number>;
  13. restWidth: number;
  14. constructor(cdr: ChangeDetectorRef);
  15. setRestStyle(display: boolean, order: number): void;
  16. static ɵfac: i0.ɵɵFactoryDeclaration<NzOverflowRestDirective, never>;
  17. static ɵdir: i0.ɵɵDirectiveDeclaration<NzOverflowRestDirective, "[nzOverflowRest]", never, {}, {}, never, never, true, never>;
  18. }