(
containerInstance: MatSnackBarContainer,
private _overlayRef: OverlayRef,
)
| 51 | private _dismissedByAction = false; |
| 52 | |
| 53 | constructor( |
| 54 | containerInstance: MatSnackBarContainer, |
| 55 | private _overlayRef: OverlayRef, |
| 56 | ) { |
| 57 | this.containerInstance = containerInstance; |
| 58 | containerInstance._onExit.subscribe(() => this._finishDismiss()); |
| 59 | } |
| 60 | |
| 61 | /** Dismisses the snack bar. */ |
| 62 | dismiss(): void { |
nothing calls this directly
no test coverage detected