{

Welcome to my blog !


Angular 12 Setup Mock API and consume and return data

January 1, 2022 ·  7 min read

In this post, You will learn how to create a Simple mock API to return json data in Angular application without creating backend API Sometimes, We want to test data components using API code, if there is no backend code, This tutorial explains about How to create a Backend REST API for mock data which returns json objects in the Angular application. First Create an angular application First, check angular CLI or not using ng -version...

Angular 12 nullish coalescing operator

January 1, 2022 ·  2 min read

nullish coalescing operator is a logical operator introduced in the latest javascript i.e EcmaScript 2020. This post covers what is nullish coalescing operator in javascript/typescript and how it is used in Angular 12 components. nullish coalescing operator is a logical operator used to check value is null or undefined on two values. nullish abbreviated as null and undefined values of a parameter coalescing is of combining two values Here is a syntax...

Angular - Input Placeholder examples

January 1, 2022 ·  3 min read

The input place holder is an html5 to describe input control. This blog talks about placeholder usage in Angular form input elements. Basic Input place holder example in Angular Conditional Placeholder example Pipe placeholder in Angular All these examples work in all angular versions - 9,10,11 and the latest You can check my previous available post: Input placeholder styles in html React input placeholder examples Dynamic placeholder binding in Angular component....

Angular - How to add Read more/less button/link with example

January 1, 2022 ·  3 min read

In this tutorial, we are going to explain about reading more or less link in Angular with examples. It is a sample example read more buttons or links with Angular9/10/11 version. When you have a long text paragraph displayed on the HTML page, you need to truncate the paragraph with a read more/less link. Multiple ways of long text can be truncated with height or limiting the text. For example, if you have long text displayed as shown below...

Android Gradle command line list

January 1, 2022 ·  2 min read

This tutorial talks about gradle commands used in android applications. You can do the same tasks using android studio. Knowing commands is helpful for mobile developers to get confidence in app build and deployment. How to list tasks from command line in android application The Gradle wrapper provides a task’s command to list out all available tasks in the Android app. In windows, Please run the following command gradlew tasks In Linux or Mac or Unix flavors OS machines....

Subscribe
You'll get a notification every time a post gets published here.