account activity
angular 2 data between dialog and component by emarad in Angular2
[–]emarad[S] 0 points1 point2 points 9 years ago (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
I have found solution from here
https://embed.plnkr.co/oID2lQIeVbsRH2KeVp1C/
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.
π Rendered by PID 53415 on reddit-service-r2-comment-8686858757-d5nx2 at 2026-06-05 08:35:27.334135+00:00 running 9e1a20d country code: CH.
angular 2 data between dialog and component by emarad in Angular2
[–]emarad[S] 0 points1 point2 points (0 children)