Home:ALL Converter>DOM manipulation in angular with packages that access DOM directly

DOM manipulation in angular with packages that access DOM directly

Ask Time:2019-02-10T19:55:58         Author:Omar Abdelhady

Json Formatter

so I know that it is not recommended to access DOM directly from an angular application instead I should use Renderer and ElementRef to access the DOM,, I already do that in my app,,

but what about the packages that I use that access the DOM using

document.getElementById

so is that okay? , and if it's okay that means that I can access DOM directly too?

so a lot of confusion here please clarify ..

Author:Omar Abdelhady,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/54616110/dom-manipulation-in-angular-with-packages-that-access-dom-directly
yy