Simplifying Object.assign method in JavaScript

Read full article on the Infragistics blog “In JavaScript, Object’s assign method copies source object’s own enumerable properties to a target object, and returns that target object “ There are two important keywords in the above sentence: Enumerable Own Before we go ahead and understand purpose of Object.assign, it is essential that we really understand these two words, … Continue reading Simplifying Object.assign method in JavaScript

Video – JavaScript object instances does not copy definition from the class

I recently wrote a blog post about Two Problems of a JavaScript Class. In my opinion one gotchas in a JavaScript class is , object instances does not copy definition from the class. Watch this video to understand it through codes.  f you like the video , do not forget to subscribe to our YouTube Channel for notification about … Continue reading Video – JavaScript object instances does not copy definition from the class

Video – Step by Step Component Communications in Angular

In Angular, components communicate to each other to share data such as object, string, number, array or html. Parent and Child Components can communicate to each other in following ways Parent and Child Components can communicate to each other in following ways @Input() @Output() Temp Ref Variable ViewChild and ContentChild   You can learn about … Continue reading Video – Step by Step Component Communications in Angular

How to add a static member property in a JavaScript class?

Recently while solving a problem, I came across a requirement to create a property in a JavaScript class, which needs to be shared by all the object instances. In the programming world, these types of properties are called Static Properties. There are various scenarios when you need a static member property: When counting number of … Continue reading How to add a static member property in a JavaScript class?

Free Download – Angular Essentials E-Book to help you getting started

Are you new to Angular and just starting with it? Well, I have written a small eBook for you, which you may find useful. You can download it free from here This book does not contain everything of Angular. It just contains topic you need to get started with Angular. In these 10 pages E-Book, … Continue reading Free Download – Angular Essentials E-Book to help you getting started

Content Projection in Angular Element with Slot in Angular 7.0

In this article, we will learn how to project content in an Angular Element. If you are unfamiliar with the following, Shadow Dom ViewEncapsulation Content Projection I recommend you read the articles below before moving forward: Understanding ViewEncapsulation in Angular Simplifying Content Projection in Angular   As of now, you know that we use ng-content to carry … Continue reading Content Projection in Angular Element with Slot in Angular 7.0