Open in app
Home
Notifications
Lists
Stories

Write
Dharmen Shah
Dharmen Shah

Home
About

Published in JavaScript in Plain English

·Pinned

Angular Material Theming System: A Complete Guide

In this article, we will learn about custom themes, modifying typography, and much more using new SASS mixins. In the latest releases of Angular Material, the SASS theming API has been reworked. In this article, we will learn about custom themes, modifying typography and much more using new SASS mixins. …

Angular

30 min read

Angular Material Theming System: A Complete Guide
Angular Material Theming System: A Complete Guide

Published in JavaScript in Plain English

·Jan 11

Angular Material Menu: Nested Menu Using Dynamic Data

How to create nested menus from dynamic data — The Angular Material Menu is a floating panel containing a list of options. In this tutorial, we will learn how we can create nested menus from dynamic data. We will first learn the basics of Angular Material Menu and how to render a nested menu with a static HTML template. …

Angular

7 min read

Angular Material Menu: Nested Menu using Dynamic Data
Angular Material Menu: Nested Menu using Dynamic Data

Published in JavaScript in Plain English

·Nov 10, 2021

How to Track Changes in ngDoCheck with KeyValueDiffer

When we use ngDoCheck to detect changes, we need to make sure that our implementation is extremely lightweight and fast, so that it doesn't affect the user experience. In this tutorial, we will learn how to efficiently track and process those changes using KeyValueDiffer. ngDoCheck life-cycle hook The official definition of this life-cycle…

Angular

5 min read

How to Track Changes in ngDoCheck with KeyValueDiffer
How to Track Changes in ngDoCheck with KeyValueDiffer

Published in JavaScript in Plain English

·Oct 11, 2021

How to Manage Object in Angular FormControl

How to manage object in FormControl and handle conversion for input — Generally we use FormControl with either string or boolean types and hence it manages only simple values. But what if we want to manage just more than primitive data types? We can do that, let's see how. For example, in this tutorial we will learn how to get country-code and…

Angular

3 min read

How to Manage Object in Angular FormControl
How to Manage Object in Angular FormControl

Published in JavaScript in Plain English

·Sep 13, 2021

How to Get an Attribute Value in Angular’s Components and Directives

In this tutorial, we will explore all the ways to read HTML attribute values passed in the component or directive. Reading HTML Attributes Elements in HTML have attributes; these are additional values that configure the elements or adjust their behavior in various ways to meet the criteria the users want. — MDN Docs …

Java Script

3 min read

How to Get an Attribute Value in Angular’s Components and Directives
How to Get an Attribute Value in Angular’s Components and Directives

Published in JavaScript in Plain English

·Aug 23, 2021

How to Exclude Stylesheets from the Bundle and Lazy Load them in Angular?

Let’s learn how we can load stylesheets only when needed without making them part of the application bundle. We will try to understand this by taking the example of multiple themes support. Multiple Theme Files Let’s assume that apart from the main styles.css file, you have 2 theme files present: src/styles/themes/theme-light.css src/styles/themes/theme-dark.css Next…

Java Script

2 min read

How to Exclude Stylesheets from the Bundle and Lazy Load them in Angular?
How to Exclude Stylesheets from the Bundle and Lazy Load them in Angular?

Published in JavaScript in Plain English

·Jul 16, 2021

Utilize JSDoc Comment Tags to Get the Most Out of VSCode’s IntelliSense

JSDoc is the standard for commenting in JavaScript code. Let’s learn how we can utilize the same so that it works great in VSCode’s IntelliSense. Types in JavaScript JavaScript is a loosely typed and dynamic language. Variables in JavaScript are not directly associated with any particular value type, and any variable can be…

Java Script

5 min read

Utilize JSDoc Comment Tags to Get the Most Out of VSCode’s IntelliSense
Utilize JSDoc Comment Tags to Get the Most Out of VSCode’s IntelliSense

Jun 7, 2021

Animation can make wave 👋 much more than emoji!

A small post to show how wave animation can take your emoji to next level! — We all use wave 👋 emoji a lot in web apps! Next time when you use it, try to add a simple wave animation to it… @keyframes wave-animation { 0% { transform: rotate(0deg); } 10% { transform: rotate(14deg); }…

CSS

1 min read

Animation can make wave 👋 much more than emoji!
Animation can make wave 👋 much more than emoji!

Animation can make wave 👋 much more than emoji!

A small post to show how wave animation can take your emoji to next level!

We all use wave 👋 emoji a lot in web apps!

Next time when you use it, try to add a simple wave animation to it…

@keyframes wave-animation {
0% {
transform: rotate(0deg);
}
10% {
transform: rotate(14deg);
}…

--

--


Published in JavaScript in Plain English

·Jun 5, 2021

Add Support for Reduced Motion in Angular Animations

In this article, we will understand why reduced motion support is needed. We will also understand the media query and its various usages. And at last, we will see how to disable animations in Angular. If you’re simply interested in the main code, head over to Disable Animations. There we’re…

Java Script

7 min read

Add Support for Reduced Motion in Angular Animations
Add Support for Reduced Motion in Angular Animations

Jun 5, 2021

Different ways to run schematics from another schematics

A schematic is a code generator, which follows a set of instructions and transforms your project by adding or modifying the code. The schematic collection can be a powerful tool for creating, modifying, and maintaining any angular project. You might use schematics, for example, to generate commonly-used UI patterns or…

Angular

6 min read

Different ways to run schematics from another schematics
Different ways to run schematics from another schematics
Dharmen Shah

Dharmen Shah

Developer @ solvative.com, Blogs @ http://blog.shhdharmen.me, Open source @ http://github.com/shhdharmen, Writer @ indepth.dev

Following
  • Medium Creators

    Medium Creators

  • Netanel Basal

    Netanel Basal

  • Kevin Kreuzer

    Kevin Kreuzer

  • Amazon Fire TV

    Amazon Fire TV

  • Nir Eyal

    Nir Eyal

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable