Category "angular"

Material Icon showing as the name when site first loads

There is an issue with Angular 7 and materials icon where the name of the icon shows when the site is initially loading. Is there a way to prevent this

How do I migrate Angular from 10 to 12 in a correct way> [closed]

I am working on Angular project migration. Initial project was Angular 10 -based and now I am migrating it to Angular 12. But the project is n

Tailwindcss version 3 classes not working on class attributes, but works on @apply for Angular 13

I'm unable to get Tailwindcss classes to appear on the inline "class" attribute. But if I @apply I through the ".scss" file and use that class on the inline "cl

Type 'object' is not assignable to type 'NgIterable<any> | null | undefined'

<!--app component.html--> <div class="position-relative container"> <div class="row justify-content-center"> <div cla

css issue fix table design

Please can anyone help me to fix the design of my table to be more clear and more presentable? I want 6 months for example in front of engagement, 599 DT I fron

Angular (latest): How to detect if Component is loaded via Router or Selector?

Assuming I have PageComponent and it's accessible via a Selector and also in the Router as a Route, how can I tell if the Component is loaded via the selector &

Brand new Standalone Angular project failing on Visual Studio 2022 preview

I just choose standalone angular project from the templates, after I give it a name, set the location and press create it gives me this. I checked the visual st

Issues with Angular/Firebase data

I'm sort of new to Angular and I'm working on a small project for an internship. I created the front-end and sending data into the database, but now I'm having

Ngb-xx is not a known element

I am trying to use the ngb bootstrap on my Angular project. Every components on ngb throws me an error My package.json and my app.module.ts Did I do so

getDisplayMedia needs user gesture to execute

in safari i am having problem to execute getDisplayMeDia because it needs user gesture to call the method. how to surpass this steps. how can i call getDisplayM

'ion-header' is not a known element ionic 5

Following are the steps i have taken I created a new project of ionic 5 using ionic start template blank updated angular to angular 9 created a new page module

How to alter styling declared in global style.scss from a child component css and scope it only for that component

I have declared some css styling in global style.css file which is src/style.css in my angular project. In one of my component I want to alter some styling and

How to place an image over iframe using proper css

I am trying to place an image(which is a close button) on iframe at the top-right corner, the iframe and image are loaded from js function in angular, I have pl

Reduce height of mat-flat-button

I have a message board that I want to add delete buttons to, unfortunately the mat-flat-button seems to be doubling the height of the message items. If i set it

Why does ion-radio checked value not get set correctly based on data loaded?

Why does the page load with both radio buttons deselected? colorSchemes is an array with 2 items. <ion-radio-group (ionChange)="radioGroupChange($event)" #ra

What could cause a "TypeError: (0 , d.__decorate) is not a function" of an angular function inside a docker container?

I'm building a web application. The frontend is in angular and the backend in .Net Core. Currently, I'm doing the following, to build my final docker image: Bui

docker-compose up not running app correctly

I'm very new to docker. I have a mean stack app that and have configured the dockerfile for frontend and backend as you can see below. When I run docker-compose

How to set a custom error message to a form in angular

I have the below code in my component: if (form.controls['minRange'].hasError('min')) { form.controls['minRange'].setErrors({ min: true }); } I am

Deprecated compiler module in Angular 13

with Angular 13 I'm seeing deprecations for the usual compiler tools to instantiate an NgModule and Here is my usual go-to code for loading a module contain

How to add horizontal scroll with pinned columns AG Grid - Angular

I have multiple columns groups in my Ag-Grid Column Definitions and in them first one static pinned columns and remaining groups will be calculated based on giv