Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ ngOnDestroy
Method
ngOnDestroy
src/cdk/listbox/listbox.ts:483–488 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
481
}
482
483
ngOnDestroy() {
484
this._cleanupWindowBlur?.();
485
this.listKeyManager?.destroy();
486
this.destroyed.next();
487
this.destroyed.complete();
488
}
489
490
/**
491
* Toggle the selected state of the given option.
Callers
nothing calls this directly
Calls
2
destroy
Method · 0.65
next
Method · 0.45
Tested by
no test coverage detected