* Dismisses the currently-visible bottom sheet. * @param result Data to pass to the bottom sheet instance.
(result?: R)
| 128 | * @param result Data to pass to the bottom sheet instance. |
| 129 | */ |
| 130 | dismiss<R = any>(result?: R): void { |
| 131 | if (this._openedBottomSheetRef) { |
| 132 | this._openedBottomSheetRef.dismiss(result); |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | ngOnDestroy() { |
| 137 | if (this._bottomSheetRefAtThisLevel) { |
no outgoing calls
no test coverage detected