projects/ui-kit-lib/src/lib/v2/bottom-sheet/bottom-sheet.ts
Service to trigger MD bottom sheets.
Methods |
Accessors |
| dismiss | ||||||||
dismiss(result?: R)
|
||||||||
Type parameters :
|
||||||||
|
Dismisses the currently-visible bottom sheet.
Parameters :
Returns :
void
|
| open | ||||||||||||
open(component: ComponentType<T>, config?: MDBottomSheetConfig<D>)
|
||||||||||||
Type parameters :
|
||||||||||||
|
Opens a bottom sheet containing the given component.
Parameters :
Returns :
MDBottomSheetRef<T, R>
Reference to the newly-opened bottom sheet. |
| open | ||||||||||||
open(template: TemplateRef
|
||||||||||||
Type parameters :
|
||||||||||||
|
Opens a bottom sheet containing the given template.
Parameters :
Returns :
MDBottomSheetRef<T, R>
Reference to the newly-opened bottom sheet. |
| open | |||||||||
open(componentOrTemplateRef: ComponentType<T> | TemplateRef<T>, config?: MDBottomSheetConfig<D>)
|
|||||||||
Type parameters :
|
|||||||||
|
Parameters :
Returns :
MDBottomSheetRef<T, R>
|
| _openedBottomSheetRef | ||||||
get_openedBottomSheetRef()
|
||||||
|
Reference to the currently opened bottom sheet.
Returns :
MDBottomSheetRef | null
|
||||||
set_openedBottomSheetRef(value: MDBottomSheetRef<any> | null)
|
||||||
|
Parameters :
Returns :
void
|