ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
18 lines (17 loc) • 710 B
TypeScript
/**
* 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 { ElementRef } from '@angular/core';
import { ZoomBehavior } from 'd3-zoom';
import { NzSafeAny } from 'ng-zorro-antd/core/types';
import { Minimap } from './core/minimap';
import { NzZoomTransform } from './interface';
export declare class NzGraphMinimapComponent {
private elementRef;
minimap?: Minimap;
constructor(elementRef: ElementRef<HTMLElement>);
init(containerEle: ElementRef, zoomBehavior: ZoomBehavior<NzSafeAny, NzSafeAny>): void;
zoom(transform: NzZoomTransform): void;
update(): void;
}