[Angular] Wysuwany dolny arkusz (bottom sheet)
Z tego wpisu dowiesz się jak w aplikacji Angular zrobić wysuwane od dołu menu, a właściwie dolny arkusz ( bottom sheet ). Przed rozpoczęciem pracy zainstaluj w swoim projekcie bibliotekę Angular Material , ponieważ to dzięki niej będzie tworzona ta funkcjonalność: ng add @angular/material . Po zainstalowaniu Angular Material możesz zacząć tworzyć komponenty takie jak między innymi bottom sheet. Na potrzeby tego wpisu stworzymy wysuwany od dołu arkusz z listą linków społecznościowych. Tworzenie komponentu ng generate component BottomSheet Edycja app.component.ts import { Component } from '@angular/core'; import { MatBottomSheet } from '@angular/material/bottom-sheet'; import { BottomSheetComponent } from './bottom-sheet/bottom-sheet.component'; @Component({ selector: 'app-root', templateUrl: './app.component.html', standalone: true, imports: [MatButtonModule, BottomSheetComponent] }) export class AppComponent { constructor(private...