Angular Material: Difference between revisions
| Line 4: | Line 4: | ||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet"> | <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet"> | ||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | ||
==Components== | |||
===Sidenav and Drawer=== | |||
* sidenav is for the full app page, drawer for a dedicated area | |||
==Open Topics== | ==Open Topics== | ||
Revision as of 21:50, 1 April 2021
Installation
ng add @angular/material
eg. will update index.html with
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
Components
- sidenav is for the full app page, drawer for a dedicated area
Open Topics
- late installation of HammerJs see last chapter