Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/testing-library/user-event
/ getTarget
Method
getTarget
src/system/pointer/pointer.ts:136–138 ·
view source on GitHub ↗
(instance: Instance)
Source
from the content-addressed store, hash-verified
134
}
135
136
private getTarget(instance: Instance) {
137
return
this.position.target ?? instance.config.document.body
138
}
139
140
private getEventInit(
141
/**
Callers
5
init
Method · 0.95
move
Method · 0.95
down
Method · 0.95
up
Method · 0.95
release
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected