What i should decify in section.
Import mat tool bar.
In this article of angular material tutorial.
Materialmodule but it is deprecated.
When you want to perform an action in webpage use button and use an anchor tag to navigate to other pages.
Add a material toolbar after the title using the tags mat toolbar and.
Next we create tow toolbar rows using the mat toolbar row in the first row we add an icon button using mat icon button with a material icon mat icon to toggle the sidenav menu which we ll add next next we add a bunch of navigation buttons using a tags with mat button.
Import materialmodule from angular material.
I have installed angular material design.
The toolbar is one of the important parts of many web applications which allows the user to navigate from one page to another.
Now i try to add this in app module ts file.
Go to the src app app module ts file and add.
That to load all material entities.
Importing the angular material modules each angular material component have its own module that you should import to use the related component.
Mat toolbar represents the main container.
Mat toolbar row add a new row.
In this chapter we will showcase the configuration required to draw a toolbar control using angular material.
You can set the color of a mat toolbar component by using the color.
We have a separate component in the angular material to integrate with the angular application the main use of toolbar is to show the application title and few different options like the material menu and other buttons.
The mat toolbar an angular directive is used to create a toolbar to show title header or any action button.