Skip to content

Dhananjay Kumar

Published posts: 66

Dhananjay Kumar works as a Developer Evangelist for Infragistics. He is an eight-time Microsoft MVP.

Communication Between Components Using @Input() in Angular

In this article, we will focus on how a child component can interact with a parent component using the @Input() property. We’ll also look into intercepting the input message and logging changes in the input message.


· 5min

Simplifying Custom Two-Way Data Binding in Angular

Do you know how to handle two-way data binding in Angular? This how-to guide will show you how to simplify the process. Read more now.


· 5min

How To Create Constants in JavaScript?

Constants are immutable variables which value cannot be changed. Once, you have created a constant, its value cannot be changed.


· 2min

How To Print or Enumerate Properties of a JavaScript Object?

In this post, we will explore all the options to iterate and print properties of a JavaScript object.


· 3min

Introduction to Angular 2 Components

A component is a main building block of an Angular 2 application, and an application may have any number of components. We can consider a component a particular view of the application with its own logic and data.


· 5min

How To Create Custom Attribute Directive in Angular

In this post, we will learn how to create Attribute Directives in Angular. So let’s say we want to change the background color of an element; in that case we would apply the attribute directive to the element.


· 4min

How To Locate a Particular Object in a JavaScript Array

Have you ever come across a requirement to find a particular object in a given array of objects? In this post, we will explore various ways to find a particular object in a JavaScript array. Let us assume that we have an array as shown in the listing below and we need to find whether an object with an id of ‘4’ exists:


· 4min

What are Closures in JavaScript?

A JavaScript closure is a function which remembers the environment in which it was created. We can think of it as an object with one method and private variables.


· 6min

Exporting a Grid to Excel in Three Simple Steps

In a web application project, exporting a grid to an Excel file is one of the most frequent requirements. There are various ways to do this, but IgniteUI makes it super simple. All it takes is one line of code!


· 4min