Browsed by
Author: EnesKirimi

Enterprise Web Front end developer
Manually triggering *ngFor at Angular

Manually triggering *ngFor at Angular

Concerning *ngFor and *ngForOf, there are three instances where the template is updated, these are: When an item is added, a new instance of the template is added to the DOM. When an item is removed, its template instance is removed from the DOM. When items are reordered, their respective templates are reordered in the DOM. But what if you’re only changing a property of an object within the array *ngFor uses? As per above rules, this is not detected…

Read More Read More

Quick Flexbox primer

Quick Flexbox primer

Flexbox has been around for quite some time. I’ve used Flexbox myself and it greatly helps on positioning and resizing elements in the document. It greatly reduces the amount of code you need to write to get the same result compared to the usual way of floating elements.   Here are some useful links and videos if you’d like to learn more about flexbox. CSS Tricks Flexbox Guide – A great guide where you can start your journey with Flexbox…

Read More Read More

Short explanation of NgModule

Short explanation of NgModule

You started working with Angular a short time ago. You created your fist components or services. Then, inevitably, you saw weird messages at your browser console that looks confusing with long stack traces. Like every other sane person, you go to the official documents. the trouble with the official documents for Angular though is they are written in a deep level. You can and will find yourself looking through page after page of deep explanations, while you only need some…

Read More Read More