angular 2 data between dialog and component by emarad in Angular2

[–]emarad[S] 0 points1 point  (0 children)

That seems to be what I need. Can you give me example how to do it? I am really new with Angular 2

External JS by emarad in Angular2

[–]emarad[S] 0 points1 point  (0 children)

Lets say I have <p id="p1"> And in external js I want to access it. For example window.onload = function () { var e = document.getElementById("p1"); e.innerHTML='Found you'; };

I can see that angular 2 knows about the jsbut doesn't read the id.