This is a very basic blog post on how to create a simple web component using Polymer LitElement. A web component is basically a view with functionality that you can reuse in any frameworks on any web page. Such a web component can then simply be used by just using the element as: <my-web-comp></my-web-comp> inside… Continue reading Creating a LitElement
Month: December 2019
New Angular Router features in versions 7, 8, and 9
When I published my book on Angular Routing, Angular 8 was not yet released. Some of the topics that I covered in my book are Router events, lazy loading etc. When I was implementing lazy loading as a demo for one of the chapters in the book, I was scratching my head. Now this was because I… Continue reading New Angular Router features in versions 7, 8, and 9
Creating framework-agnostic web components with Angular
Wait, framework-agnostic web components? What is that! Let us try to understand the meaning of this term by an example, apparently my own example. TL;DR This article shares about the need for web components, web component specifications, what are Angular elements, how can we create web components using Angular elements, and finally how we can we… Continue reading Creating framework-agnostic web components with Angular