removed update-on-resize function
This commit is contained in:
@@ -41,15 +41,8 @@ export class GraphsComponent implements OnChanges {
|
|||||||
private genLoadedAllGraphs: any | null;
|
private genLoadedAllGraphs: any | null;
|
||||||
|
|
||||||
@Input() config: any;
|
@Input() config: any;
|
||||||
|
|
||||||
@ViewChild('svg') svgElementRef;
|
|
||||||
|
|
||||||
@Output() svgChange = new EventEmitter();
|
@Output() svgChange = new EventEmitter();
|
||||||
|
@ViewChild('svg') svgElementRef;
|
||||||
@HostListener('window:resize', ['$event'])
|
|
||||||
private onResize(event) {
|
|
||||||
this.init();
|
|
||||||
}
|
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private canvasService: CanvasService
|
private canvasService: CanvasService
|
||||||
|
|||||||
Reference in New Issue
Block a user