We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9210f74 commit 85fb9e9Copy full SHA for 85fb9e9
src/material/snack-bar/snack-bar-config.ts
@@ -32,7 +32,10 @@ export class MatSnackBarConfig<D = any> {
32
*/
33
announcementMessage?: string = '';
34
35
- /** The view container to place the overlay for the snack bar into. */
+ /**
36
+ * The view container that serves as the parent for the snackbar for the purposes of dependency
37
+ * injection. Note: this does not affect where the snackbar is inserted in the DOM.
38
+ */
39
viewContainerRef?: ViewContainerRef;
40
41
/** The length of time in milliseconds to wait before automatically dismissing the snack bar. */
0 commit comments