@angular/material/bottom-sheet#MatBottomSheetRef TypeScript Examples
The following examples show how to use
@angular/material/bottom-sheet#MatBottomSheetRef.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: term-hint.component.ts From open-genes-frontend with Mozilla Public License 2.0 | 6 votes |
constructor(
@Inject(MAT_BOTTOM_SHEET_DATA)
public data = {
term: {
title: 'term',
disambiguation: 'disambiguation',
},
},
private _windowService: WindowService,
private bottomSheetRef: MatBottomSheetRef,
private readonly cdRef: ChangeDetectorRef
) {
super(_windowService);
}
Example #2
Source File: confirm-delete.component.ts From budget-angular with GNU General Public License v3.0 | 5 votes |
constructor(
private bottomSheetRef: MatBottomSheetRef<ConfirmDeleteComponent>,
@Inject(MAT_BOTTOM_SHEET_DATA) private data: DeleteExpenseData,
private expenseSevice: ExpensesService
) {}
Example #3
Source File: wizard-sheet.component.ts From open-genes-frontend with Mozilla Public License 2.0 | 5 votes |
constructor(
public windowService: WindowService,
private bottomSheetRef: MatBottomSheetRef,
private readonly cdRef: ChangeDetectorRef,
) {
super(windowService);
}
Example #4
Source File: common-bottom-sheet.component.ts From open-genes-frontend with Mozilla Public License 2.0 | 5 votes |
constructor(
@Inject(MAT_BOTTOM_SHEET_DATA)
public data: {
title?: string;
template: TemplateRef<any>;
},
private bottomSheetRef: MatBottomSheetRef<CommonBottomSheetComponent>
) {}
Example #5
Source File: bottom-sheet-overview.component.ts From matx-angular with MIT License | 5 votes |
constructor(private bottomSheetRef: MatBottomSheetRef<BottomSheetOverviewComponent>) {}