Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

341
Visualizações
Angular Material Progress Bar not getting called

I'm trying to use angular material progress bar, i have used this code in app.module.ts

import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { MatProgressBarModule } from '@angular/material/progress-bar';

  ],
  imports: [
    MatProgressBarModule
  ],

calling progress bar like this in app.component.html

 <mat-progress-bar mode="determinate" value="100"></mat-progress-bar>  

it is working in this component but i want to call in other component using the same code but not getting called.

Getting this error:

mat-progress-bar is not a known element

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

If the other component is in a different module then you must include MatProgressBarModule in that module's imports array.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda