Last active
March 2, 2023 13:02
-
-
Save GerritRiesch94/108f5f1a46463d108a187369bf1f296a to your computer and use it in GitHub Desktop.
Example for ngOptimizedImage usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mat-drawer-container autosize class="h-screen"> | |
<mat-drawer class="flex h-full flex-col justify-center overflow-x-hidden px-2" mode="side" opened="true"> | |
<app-sidebar></app-sidebar> | |
</mat-drawer> | |
<mat-drawer-content> | |
<!-- // random image to load --> | |
<img ngSrc="https://picsum.photos/200/300" width="200" height="300" alt="random Picture" priority /> | |
<app-navbar></app-navbar> | |
<router-outlet></router-outlet> | |
</mat-drawer-content> | |
</mat-drawer-container> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment