![]() |
VOOZH | about |
Angular Material is a UI component library that is developed by the Angular team to build design components for desktop and mobile web applications. In order to install it, we need to have angular installed in our project, once you have it you can enter the below command and can download it. <mat-slider> tag is used whenever there is a need for a slider in our projects.
Installation syntax:
ng add @angular/materialApproach:
| Property Name | Significance |
| invert | In order to display the slider in an inverted direction. |
| vertical | In order to display the slider in a vertical direction. |
| disabled | In order to disable the slider |
Code Implementation:
app.module.ts:
app.component.html:
Output: