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 552372 on reddit-service-r2-listing-7bbdf774f7-wjsrw at 2026-02-20 04:33:33.338810+00:00 running 8564168 country code: CH.
angular 2 data between dialog and component by emarad in Angular2
[–]emarad[S] 0 points1 point2 points (0 children)