Video – Arrow Function in JavaScript

Arrow function was introduced in ECMA 6.  It is different than function statement or expression , as it does not have its own ‘this’ , and can also not be used as constructor.  Some important points about Arrow function are: It does not have prototype property It does not have arguments parameter It does notContinueContinue reading “Video – Arrow Function in JavaScript”

Recap of 2018

Hi Reader, THANK YOU, for being with me in 2018. It was another good year due to your Support, Trust, and Love. Besides, you, I would like to thank my employer Infragistics and my boss Jason Beres that they gave me opportunities to contribute to developer community. If you are an Angular developer, you mayContinueContinue reading “Recap of 2018”

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,ContinueContinue 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 aboutContinueContinue 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 aboutContinueContinue reading “Video – Step by Step Component Communications in Angular”

Two Problems of a JavaScript Class

  Starting ECMA 6, JavaScript has class keyword to create a class. I have written in detail about class here. There is no second question that class simplifies the way object is created, inheritance is implemented etc. JavaScript class has, Constructors Methods Extends etc. Above features of a class helps to easily write Object OrientedContinueContinue reading “Two Problems of a JavaScript Class”

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 ofContinueContinue 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,ContinueContinue 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 carryContinueContinue reading “Content Projection in Angular Element with Slot in Angular 7.0”

How to Create Basic Inheritance in JavaScript Constructors

There are four ways to create an object in JavaScript. They are as follows: Object as literal Constructor Invocation Pattern Object.create() method Using class after ES6 Implementation of Inheritance varies according to the object creation method. In this post, I am going to explain creating inheritance in between a function constructor. Let’s say you haveContinueContinue reading “How to Create Basic Inheritance in JavaScript Constructors”