I would like to add an event listener to the iframe load event inside an Angular Component.
I know I could use ViewChild
decorator and then access the element.nativeElement.addEventListener
However, in order to comply with best practices when dealing with DOM inside Angular, accessing the addEventListener on the nativeElement is still considered platform independent? Or am I binding my app to pure browser app?
Thanks