I use renderer of angular 4 to change DOM of some element. How can i know when the DOM finish render to call other method like this
this._renderer.setElementStyle(this._tileElement, 'width', '100%');
this._renderer.setElementStyle(this._tileElement, 'height', '100%');
this._tile.viewport.scale = this._imageProcessing.calculateZoomRatioFullImage(this._tile.viewport,
this._tileElement.clientWidth, this._tileElement.clientHeight);
this._tile.viewport.realSizeRatio = this._imageProcessing.calculateRealSizeRatio(this._tile.viewport);
this.render(this._tile);
Thanks you