Blog posts with tag javascript

Cover Image for How to add loading spinner in Angular with RxJS

How to add loading spinner in Angular with RxJS

In this article, we'll learn how to add a simple loading spinner in Angular using RxJS and then use an HttpInterceptor to automatically show a loader on all network calls in our Angular app.

Cover Image for Angular Material Dark Mode in 3 steps

Angular Material Dark Mode in 3 steps

A dark mode is a must-have little feature for your Angular web application. It is easier on the eyes and less draining for your smartphone battery.

Cover Image for Add spring animations to your angular app with popmotion

Add spring animations to your angular app with popmotion

You might have heard of spring animations recently with popular libraries such as react-spring and Framer Motion in the React world. I was on a hunt recently for a similar package in Angular, but found it missing. Angular's own animation API is quite powerful, but it relies on CSS based animations which are difficult to map to spring based animations.

Cover Image for Truncate multiple line text in Angular like a pro

Truncate multiple line text in Angular like a pro

Truncation is a common problem when developing user interfaces with varying lengths of text. While truncating a single line of text is easy through good old CSS, how to truncate multiple line text can be a challenge!

Cover Image for RxJS in Angular: Creating a Weather App

RxJS in Angular: Creating a Weather App

RxJS in Angular can seem a bit difficult at first. But once you learn to leverage its power, it makes your code cleaner and more readable!

Back to the blog