Angular Material - Angular Material Bottom Sheet - Angular Material Tutorial
What is Bottom Sheet in Angular Material?
- A bottom sheet is a sheet of material that slides up from the bottom edge of the screen.
- Bottom sheets are displayed only as a result of a user-initiated action, and can be swiped up to reveal additional content.
- A bottom sheet can be a temporary modal surface or a persistent structural element of an app.
- mdBottomSheet, an Angular Service, is used to open a bottom sheet over the application and provides a simple promise API.
learn angular material tutorials - design-bottom-sheet Example
Related Tags - angular material , angular 2 material , angular material 2 , angular material design , material angular
Methods:
S.N | Method & Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
1 | $mdBottomSheet.show(options); Show a bottom sheet with the specified options.
|
Example:
- This shows the use of $mdBottomSheetservice to showcase use of bottom sheet.