Wednesday, August 25, 2021

'moment-timezone'. CommonJS or AMD dependencies can cause optimization bailouts.

 Solution:

Add this code angular.json

"tsConfig": "tsconfig.app.json",

 "allowedCommonJsDependencies": [  "moment-timezone"],





Sunday, August 8, 2021

How to Sort an Array Alphabetically in JavaScript | Example | Demo

 we will look at sorting an array alphabetically in JavaScript. We will cover both arrays with strings and arrays with objects. and check with Demo.

1. Sorting an Array with Strings
2. Sorting an Array With Local Compare
3. Sorting an Array With Local compare Object

Demo Link


Example Sort Array



Angular Searchable Dropdown | Demo | Example

 

Filter/search from the drop-down list of options using angular


I have multi-select drop-down with check-boxes and a drop-down list options. I wanted to implement an run time/dynamic filtered search for the drop-down options. I was able to implement filtered search but not that at run time. 

Angular 12 Searchable Drop Down also you can check demo. angular is very easy to use for searchable drop down.

Angular is one of the most popular JavaScript frameworks out there, notably with enterprise systems. In this article, you’ll learn how to create a custom searchable dropdown component which can search through an array of data and return the particular item a user searches for.
At the end of this article, you’ll create a real-world custom search component which searches for your favorite TV shows and displays some information about it to you.

Demo Link

Angular Searchable Dropdown Demo:



Wednesday, August 4, 2021

What is CSS

 CSS is the language we use to style an HTML document.

CSS describes how HTML elements should be displayed.

This tutorial will teach you CSS from basic to advanced.

What is Javascript

 JavaScript is the best  world's most popular programming language.

JavaScript is  the programming language of the Web.

JavaScript is easy to learn.

This tutorial will teach you JavaScript from basic to advanced.

How to build an Express and Node.js app with Typescript

  In this tutorial, you will learn how to set up a Node.js and Express project with Typescript and live auto-reloading. Note that this metho...