Questions tagged [angular-material-11]

6 questions
7
votes
1 answer

Can we define custom levels of typography in Angular material typography

As per angular material typography there are 13 defined levels for typography: Documentation. For example display-4, display-3, display-2, headline, title, etc. By default these level has some predefined font-size, line-height and letter-spacing. We…
Always_a_learner
  • 4,585
  • 13
  • 63
  • 112
0
votes
3 answers

Angular9 application is not compiling after installation of angular material

In Angular9, I have installed angular-material but it is giving following error. ERROR in The target entry-point "@angular/material/sidenav" has missing…
0
votes
0 answers

how to close mat menu?

Hello, I have several matMenu for example #status="matMenu", #something = "matMenu", i want to close active matMenu on child component's Approve button click. child component is in matMenu. but every time when I use ` …
0
votes
1 answer

Angular 9 Mat-select comma separation of values during display

I want to present all the values present in the mat-select as comma separated values and I don't want to have a multiple selection any suggestions/anybody faced a similar scenario
-1
votes
2 answers

What is the best place to implement shared method between different components in angular?

I'm trying to implement snackbar angular material component on my project. https://stackblitz.com/angular/ygomllvemnl?file=src%2Fapp%2Fsnack-bar-component-example.ts This element(component) is used by 3 other components. So I need to implement the…
-1
votes
3 answers

Angular Material Stepper custom icons ng-template has undefined context variable

I am trying to use an ng-template with the matStepperIcon property to override the default Angular Material's matStepper's icons. I also want to pass some data, and I tried using ng-container and *ngTemplateOutlet, however it only partially…
Michael
  • 876
  • 9
  • 29