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

Method callback

src/material/sidenav/drawer.ts:418–422  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

416 // The tabindex attribute should be removed to avoid navigating to that element again
417 this._ngZone.runOutsideAngular(() => {
418 const callback = () => {
419 cleanupBlur();
420 cleanupMousedown();
421 element.removeAttribute('tabindex');
422 };
423
424 const cleanupBlur = this._renderer.listen(element, 'blur', callback);
425 const cleanupMousedown = this._renderer.listen(element, 'mousedown', callback);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected