MCPcopy Index your code
hub / github.com/angular/components / ngAfterContentInit

Function ngAfterContentInit

src/cdk/menu/menu-base.ts:109–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 });
108
109 ngAfterContentInit() {
110 if (!this.isInline) {
111 this.menuStack.push(this);
112 }
113 this._setItems();
114 this._setKeyManager();
115 this._handleFocus();
116 this._subscribeToMenuStackHasFocus();
117 this._subscribeToMenuOpen();
118 this._subscribeToMenuStackClosed();
119 this._setUpPointerTracker();
120 }
121
122 ngOnDestroy() {
123 this._focusMonitor.stopMonitoring(this.nativeElement);

Callers

nothing calls this directly

Calls 4

pushMethod · 0.65
_handleFocusMethod · 0.45

Tested by

no test coverage detected