Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Login

Register Now

Lorem ipsum dolor sit amet, consectetur adipiscing elit.Morbi adipiscing gravdio, sit amet suscipit risus ultrices eu.Fusce viverra neque at purus laoreet consequa.Vivamus vulputate posuere nisl quis consequat.

Category : Angular

Angular

Question
What is the difference between ChangeDetectorRef.markForCheck() and ChangeDetectorRef.detectChanges()? I only found information on SO as to the difference between NgZone.run(), but not between these two functions. For answers with only a reference to the doc, please illustrate some practical scenarios ...
0
3 weeks 0 Answers 24 views

Question
Here's what I have in fruit.ts export type Fruit = "Orange" | "Apple" | "Banana" Now I'm importing fruit.ts in another typescript file. Here's what I have myString:string = "Banana"; myFruit:Fruit = myString; When I do myFruit = myString; I get ...
0
3 weeks 0 Answers 21 views

Question
ng-container is mentioned in Angular 2 documentation but there is no explanation how it works and what are use cases. It is particularly mentioned in ngPlural and ngSwitch directives. Does do the the same thing as , or it ...
0
3 weeks 0 Answers 24 views

Question
This is driving me nuts, I'm under the gun and can't afford to spend another whole day on this. I am trying to manually set a control value ('dept') within the component, and it's just not working - even the ...
0
3 weeks 0 Answers 20 views

Question
I have a JSON file that looks like following: { "primaryBright": "#2DC6FB", "primaryMain": "#05B4F0", "primaryDarker": "#04A1D7", "primaryDarkest": "#048FBE", "secondaryBright": ...
0
3 weeks 0 Answers 20 views