* Check if a reference to the PointerFocusTracker and menu element is provided. * @throws an error if neither reference is provided.
()
| 228 | * @throws an error if neither reference is provided. |
| 229 | */ |
| 230 | private _checkConfigured() { |
| 231 | if (typeof ngDevMode === 'undefined' || ngDevMode) { |
| 232 | if (!this._pointerTracker) { |
| 233 | throwMissingPointerFocusTracker(); |
| 234 | } |
| 235 | if (!this._menu) { |
| 236 | throwMissingMenuReference(); |
| 237 | } |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | /** Subscribe to the root menus mouse move events and update the tracked mouse points. */ |
| 242 | private _subscribeToMouseMoves() { |
no test coverage detected