Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ constructor
Method
constructor
src/cdk/a11y/focus-trap/focus-trap.ts:389–391 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
387
private _injector = inject(Injector);
388
389
constructor() {
390
inject(_CdkPrivateStyleLoader).load(_VisuallyHiddenLoader);
391
}
392
393
/**
394
* Creates a focus-trapped region around the given element.
Callers
nothing calls this directly
Calls
1
load
Method · 0.80
Tested by
no test coverage detected