Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ _contentAttached
Method
_contentAttached
src/cdk/dialog/dialog-container.ts:143–146 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
141
}
142
143
protected _contentAttached() {
144
this._initializeFocusTrap();
145
this._captureInitialFocus();
146
}
147
148
/**
149
* Can be used by child classes to customize the initial focus
Callers
3
attachComponentPortal
Method · 0.95
attachTemplatePortal
Method · 0.95
CdkDialogContainer
Class · 0.95
Calls
2
_initializeFocusTrap
Method · 0.95
_captureInitialFocus
Method · 0.95
Tested by
no test coverage detected