MCPcopy Create free account
hub / github.com/angular/components / _checkConfigured

Method _checkConfigured

src/cdk/menu/menu-aim.ts:230–239  ·  view source on GitHub ↗

* Check if a reference to the PointerFocusTracker and menu element is provided. * @throws an error if neither reference is provided.

()

Source from the content-addressed store, hash-verified

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() {

Callers 1

toggleMethod · 0.95

Calls 2

Tested by

no test coverage detected