I have a graph with a “logical” representation in a json (that I use for another program) and the graphical representation is in an MxGraph, rendered in the Angular component. I am using XMLs as values of the cells, as suggested in this Documentation. While for me it is very easy to intercept chan…
Tag: angular7
Action doesn’t trigger effect the THIRD time when it runs
Effects runs perfectly on first two dispatch of action but doesn’t trigger on the third time.The solution in Why action doesn’t trigger Effect the second time it runs and @ngrx Effect does not run the second time doesn’t work for me. Here’s the effect: Answer I also had a similar probl…
@Input and @Output are always undefined in Angular-Cli
Whatever values are inside the individuals are printed without issues but whatever is obtained using @Input or @Output is not displayed. child.component.ts parent.component.html Is there anything goes wrong in syntax? The Log always show ‘undefined’ in all cases. Thanks Answer I think this is tryi…
How to set value to parent component property when a button is clicked in Child component in Angular
I am new to Angular 7 (2+) & trying my hands on @Input & @Output. However, passing data from Parent to Child component via @Input is understood & in place. However, very basic on the other hand passing data from Child to Parent component via using @Output concept is understood & but the implem…
Angular 7 shared service is not shared
I am new to angular and I am trying to pass data from one component(HomeComponent) to another component(ProfileComponent) after navigation. I created a shared service(DataService). I injected the service in both the HomeComponent and ProfileComponent but when I set the value of the message property in HomeCom…
angular 7 does not ask if to use routing when i create a new project
I was formerly using Angular version 6, now I have upgraded to 7. But when I try to create a new project in CLI using ng new [app-name] it just starts without asking if I want to include routing in my project or the styling. P.S: I have the latest version of Angular i.e 7.0.2. Answer ng new {Project-name} com…