graph-minimap.component.d.ts 1.0 KB

12345678910111213141516171819202122
  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 { ElementRef, NgZone, OnDestroy } from '@angular/core';
  6. import { ZoomBehavior } from 'd3-zoom';
  7. import { NzSafeAny } from 'ng-zorro-antd/core/types';
  8. import { Minimap } from './core/minimap';
  9. import { NzZoomTransform } from './interface';
  10. import * as i0 from "@angular/core";
  11. export declare class NzGraphMinimapComponent implements OnDestroy {
  12. private elementRef;
  13. private ngZone;
  14. minimap?: Minimap;
  15. constructor(elementRef: ElementRef<HTMLElement>, ngZone: NgZone);
  16. ngOnDestroy(): void;
  17. init(containerEle: ElementRef, zoomBehavior: ZoomBehavior<NzSafeAny, NzSafeAny>): void;
  18. zoom(transform: NzZoomTransform): void;
  19. update(): void;
  20. static ɵfac: i0.ɵɵFactoryDeclaration<NzGraphMinimapComponent, never>;
  21. static ɵcmp: i0.ɵɵComponentDeclaration<NzGraphMinimapComponent, "nz-graph-minimap", never, {}, {}, never, never, true, never>;
  22. }