Read full article on the Infragistics blog In modern JavaScript, objects are integral, and having a strong understanding of topics surrounding objects is necessary for writing better JavaScript. You can create an object in four ways in JavaScript. Read about them in greater detail here. Once you know how to create an object, you mayContinueContinue reading “How to seal, freeze and prevent extension of an object in JavaScript”
Author Archives: Dhananjay Kumar
Simplifying Angular Data Binding to .NET Developers
Read full article on the Infragistics blog At my job, I get the opportunity to talk to many .NET developers who want to learn Angular. Often, I’ve seen that they bring their .NET skills and work to map that in the learning of Angular. While the effort and drive to learn is there Angular isContinueContinue reading “Simplifying Angular Data Binding to .NET Developers”
Angular Components: Pass by Reference or Pass by Value?
Read full article on the Infragistics blog In Angular, you can pass data from parent component to child component using @Input() decorator, and a child component can emit an event to a parent comment using @Output() decorator. The purpose of this blog post is to explain you whether it is pass by reference or passContinueContinue reading “Angular Components: Pass by Reference or Pass by Value?”
Module Pattern in JavaScript
In JavaScript, code encapsulation can be achieved using Modules Patterns. In addition, it is used to create private and public properties. There are various ways a module pattern can be implemented. In this article, we will learn to create a module pattern in ES5. Before we go ahead and start looking into implementation of theContinueContinue reading “Module Pattern in JavaScript”
Simplifying Different Types of Providers in Angular
An Angular Service provider delivers a runtime version of a dependency value. Therefore, when you inject a service, the Angular injector looks at the providers to create the instance of the service. It is the provider that determines which instance or value should be injected at the runtime in component, pipes, or directives. There areContinueContinue reading “Simplifying Different Types of Providers in Angular”
Step by Step for Creating Your First Angular Element
Read full article on the Infragistics blogAngular Elements allow us to create reusable Angular components, which can be used outside of the Angular application. You can use an Angular Element in any other application such as normal HTML, React, etc. Essentially, Angular Elements are normal components, which are packaged as Custom Elements. You can learnContinueContinue reading “Step by Step for Creating Your First Angular Element”
Got Microsoft Most Valuable Professional (MVP) Award 9th times in nine consecutive years
I am excited to inform you that I have been awarded prestigious Microsoft MVP Award 9th times in nine consecutive years. You can learn more about MVP Award here: https://mvp.microsoft.com . I thank Microsoft for the award and recognition.At time of writing, there are around 3000 MVP worldwide and around 75 MVP in India. Therefore,ContinueContinue reading “Got Microsoft Most Valuable Professional (MVP) Award 9th times in nine consecutive years”
High Performance Angular Grid with Web Sockets
Read full article on the Infragistics blog You may have come across the requirement to push data in real time to an Angular Grid. To push data to the browser, you need a technology called WebSocket. You can implement that using NodeJS or ASP.NET SignalR. For the purpose of this article, we will useContinueContinue reading “High Performance Angular Grid with Web Sockets”
Understanding ViewEncapsulation in Angular
To understand ViewEncapsulation in Angular, first we should understand about Shadow DOM. You can learn in detail about Shadow DOM here. Putting it in simple words, Shadow DOM brings Encapsulation in HTML Elements. Using the Shadow DOM , markup, styles, and behaviors are scoped to the element and do not clash with other nodes of the DOM. Shadow DOM is part ofContinueContinue reading “Understanding ViewEncapsulation in Angular”
Understating Angular Change Detection with example
Change Detection means updating the DOM whenever data is changed. Angular provides two strategies for Change Detection. Default strategy onPush strategy In default strategy, whenever any data is mutated or changed, Angular will run change detector to update the DOM. In onPush strategy, Angular will only run change detector only when new reference is passedContinueContinue reading “Understating Angular Change Detection with example”