Sugar syntax in TS/JS: sweetening your code 🍨

In the vast realm of programming languages, syntax dictates the structure and clarity of your code. While both TypeScript and JavaScript offer various syntactic constructs, “sugar syntax” refers to concise shortcuts that improve readability and maintainability. This article explores the key sugar syntax elements in these languages, equipping you to […]

Read More…

Angular Drag & Drop upload form

Angular Drag & Drop upload form

Any file Angular upload form now wants its own drag & drop system, to be able to insert files by dragging them over the affected area.To do this with Angular we define a directive that manages the drop on a particular area of the page Immediately after create the component […]

Read More…

Angular file upload with Drag & Drop box and pdf/img preview

angular file upload preview

Implementing a seamless file upload experience is a standard requirement for modern web applications. Moving beyond a simple file input to a dedicated drag and drop zone significantly improves user engagement. This article explores a practical Angular implementation that provides real-time previews for both images and PDF documents. Effective file […]

Read More…

Angular cascading recursive selects from tree nodes

Recursive selects from tree nodes

Today we will see recursive selects from tree nodes.Nothing proves the saying “if you want something done right, do it yourself” better than recursion.Recursion is one of my favorite topics. When a function is recursive, it finds in itself the strength to solve a task. We can also see recursion […]

Read More…

Modal with generic content in Angular app

Angular add a modal with generic content

Today we will see a way to add a modal with generic content in Angular, for web sites with many lists of resources, often even very complex.We can handle it like another “page” in router, allowing every content we need in it. This approach can be useful in cases where, […]

Read More…

BlogoBay
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.