Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ invalidTarget
Function
invalidTarget
packages/core/primitives/event-dispatch/test/event_test.ts:20–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
}
19
20
function
invalidTarget(): HTMLElement {
21
return
document.createElement(
'div'
);
22
}
23
24
function
roleTarget(): HTMLElement {
25
const
target = document.createElement(
'div'
);
Callers
1
event_test.ts
File · 0.85
Calls
1
createElement
Method · 0.65
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…