Destroy and unset the overlay reference it if exists
()
| 182 | |
| 183 | /** Destroy and unset the overlay reference it if exists */ |
| 184 | private _destroyOverlay() { |
| 185 | if (this.overlayRef) { |
| 186 | this.overlayRef.dispose(); |
| 187 | this.overlayRef = null; |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | /** Gets the injector to use when creating a child menu. */ |
| 192 | private _getChildMenuInjector() { |