我使用角度4的渲染器来改变某些元素的DOM。我如何知道DOM完成渲染以调用其他类似的方法
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);
谢谢你