Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/testing-library/user-event
/ CaretPosition
Interface
CaretPosition
src/system/pointer/shared.ts:19–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
}
18
19
export
interface
CaretPosition {
20
node?: Node
21
offset?: number
22
}
23
24
export
function
isDifferentPointerPosition(
25
positionA: PointerPosition,
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected