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

Function constructor

src/material/tabs/paginated-tab-header.ts:175–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173 @Output() readonly indexFocused: EventEmitter<number> = new EventEmitter<number>();
174
175 constructor() {
176 // Bind the `mouseleave` event on the outside since it doesn't change anything in the view.
177 this._eventCleanups = this._ngZone.runOutsideAngular(() => [
178 this._renderer.listen(this._elementRef.nativeElement, 'mouseleave', () =>
179 this._stopInterval(),
180 ),
181 ]);
182 }
183
184 /** Called when the user has selected an item via the keyboard. */
185 protected abstract _itemSelected(event: KeyboardEvent): void;

Callers

nothing calls this directly

Calls 1

listenMethod · 0.80

Tested by

no test coverage detected