()
| 111 | } |
| 112 | |
| 113 | ngOnDestroy() { |
| 114 | if (this._focusMonitor) { |
| 115 | this._focusMonitor.stopMonitoring(this._elementRef); |
| 116 | } |
| 117 | |
| 118 | if (this._parentMenu && this._parentMenu.removeItem) { |
| 119 | this._parentMenu.removeItem(this); |
| 120 | } |
| 121 | |
| 122 | this._hovered.complete(); |
| 123 | this._focused.complete(); |
| 124 | } |
| 125 | |
| 126 | /** Used to set the `tabindex`. */ |
| 127 | _getTabIndex(): string { |
nothing calls this directly
no test coverage detected